1
0
Fork 0
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:
Andrey Nering 2017-01-17 23:18:55 -02:00 committed by Lunny Xiao
parent d0ad7921f8
commit d2bb8ef503
8 changed files with 104 additions and 81 deletions

View file

@ -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();