forked from forgejo/forgejo
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:
parent
d0ad7921f8
commit
d2bb8ef503
8 changed files with 104 additions and 81 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue