mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Notifications: trying to get a better layout (#660)
* i18n button titles * Improvements on notification page layout * Notification count badge fixes * Make table <tr> clickable * Fix octicon aligment * Fix use of AppSubUrl
This commit is contained in:
committed by
Lunny Xiao
parent
d0ad7921f8
commit
d2bb8ef503
@ -1243,6 +1243,11 @@ $(document).ready(function () {
|
||||
$($(this).data('target')).slideToggle(100);
|
||||
});
|
||||
|
||||
// make table <tr> element clickable like a link
|
||||
$('tr[data-href]').click(function(event) {
|
||||
window.location = $(this).data('href');
|
||||
});
|
||||
|
||||
// Highlight JS
|
||||
if (typeof hljs != 'undefined') {
|
||||
hljs.initHighlightingOnLoad();
|
||||
|
Reference in New Issue
Block a user