diff options
-rw-r--r-- | apps/files/templates/recentlist.php | 2 | ||||
-rw-r--r-- | apps/files/templates/simplelist.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/tests/js/publicAppSpec.js | 1 | ||||
-rw-r--r-- | apps/files_trashbin/templates/index.php | 4 | ||||
-rw-r--r-- | apps/systemtags/templates/list.php | 2 | ||||
-rw-r--r-- | apps/systemtags/tests/js/systemtagsfilelistSpec.js | 2 | ||||
-rw-r--r-- | core/templates/layout.user.php | 2 |
7 files changed, 8 insertions, 7 deletions
diff --git a/apps/files/templates/recentlist.php b/apps/files/templates/recentlist.php index 389b01098a6..925201e5df6 100644 --- a/apps/files/templates/recentlist.php +++ b/apps/files/templates/recentlist.php @@ -24,7 +24,7 @@ data-sort="size"><span><?php p($l->t('Size')); ?></span></a> </th> <th class="hidden column-mtime"> - <a id="modified" class="columntitle" href="#" onclick="event.preventDefault()" + <a class="columntitle" href="#" onclick="event.preventDefault()" data-sort="mtime"><span><?php p($l->t('Modified')); ?></span><span class="sort-indicator"></span></a> <span class="selectedActions"> diff --git a/apps/files/templates/simplelist.php b/apps/files/templates/simplelist.php index 599a9f4a136..9e67d4cd0b2 100644 --- a/apps/files/templates/simplelist.php +++ b/apps/files/templates/simplelist.php @@ -23,7 +23,7 @@ <a class="size sort columntitle" onclick="event.preventDefault()" href="#" data-sort="size"><span><?php p($l->t('Size')); ?></span><span class="sort-indicator"></span></a> </th> <th class="hidden column-mtime"> - <a id="modified" class="columntitle" onclick="event.preventDefault()" href="#" data-sort="mtime"><span><?php p($l->t('Modified')); ?></span><span class="sort-indicator"></span></a> + <a class="columntitle" onclick="event.preventDefault()" href="#" data-sort="mtime"><span><?php p($l->t('Modified')); ?></span><span class="sort-indicator"></span></a> <span class="selectedActions"> <a onclick="event.preventDefault()" href="#" class="delete-selected"> <img class="svg" alt="" diff --git a/apps/files_sharing/tests/js/publicAppSpec.js b/apps/files_sharing/tests/js/publicAppSpec.js index b9d8cbe28e2..e8e5f0a5109 100644 --- a/apps/files_sharing/tests/js/publicAppSpec.js +++ b/apps/files_sharing/tests/js/publicAppSpec.js @@ -74,6 +74,7 @@ describe('OCA.Sharing.PublicApp tests', function() { '<a class="name columntitle" data-sort="name"><span>Name</span><span class="sort-indicator"></span></a>' + '<span class="selectedActions hidden">' + '<a href class="download">Download</a>' + + '</span>' + '</th>' + '<th class="hidden column-size"><a class="columntitle" data-sort="size"><span class="sort-indicator"></span></a></th>' + '<th class="hidden column-mtime"><a class="columntitle" data-sort="mtime"><span class="sort-indicator"></span></a></th>' + diff --git a/apps/files_trashbin/templates/index.php b/apps/files_trashbin/templates/index.php index cfeded586f7..441768288fe 100644 --- a/apps/files_trashbin/templates/index.php +++ b/apps/files_trashbin/templates/index.php @@ -30,7 +30,7 @@ <div class="column-name-container"> <a class="name sort columntitle" data-sort="name"><span><?php p($l->t('Name')); ?></span><span class="sort-indicator"></span></a> <span class='selectedActions'> - <a href="" class="actions-selected"> + <a href="#" class="actions-selected"> <span class="icon icon-more"></span> <span><?php p($l->t('Actions'))?></span> </a> @@ -38,7 +38,7 @@ </div> </th> <th class="hidden column-mtime"> - <a id="modified" class="columntitle" data-sort="mtime"><span><?php p($l->t('Deleted')); ?></span><span class="sort-indicator"></span></a> + <a class="columntitle" data-sort="mtime"><span><?php p($l->t('Deleted')); ?></span><span class="sort-indicator"></span></a> </th> </tr> </thead> diff --git a/apps/systemtags/templates/list.php b/apps/systemtags/templates/list.php index cea67413327..b6298ef2d23 100644 --- a/apps/systemtags/templates/list.php +++ b/apps/systemtags/templates/list.php @@ -25,7 +25,7 @@ <a class="size sort columntitle" data-sort="size"><span><?php p($l->t('Size')); ?></span><span class="sort-indicator"></span></a> </th> <th class="hidden column-mtime"> - <a id="modified" class="columntitle" data-sort="mtime"><span><?php p($l->t('Modified')); ?></span><span class="sort-indicator"></span></a> + <a class="columntitle" data-sort="mtime"><span><?php p($l->t('Modified')); ?></span><span class="sort-indicator"></span></a> </th> </tr> </thead> diff --git a/apps/systemtags/tests/js/systemtagsfilelistSpec.js b/apps/systemtags/tests/js/systemtagsfilelistSpec.js index 068eb0cbf5c..66272320e1d 100644 --- a/apps/systemtags/tests/js/systemtagsfilelistSpec.js +++ b/apps/systemtags/tests/js/systemtagsfilelistSpec.js @@ -40,7 +40,7 @@ describe('OCA.SystemTags.FileList tests', function() { '<th class="hidden column-name">' + '<input type="checkbox" id="select_all_files" class="select-all">' + '<a class="name columntitle" data-sort="name"><span>Name</span><span class="sort-indicator"></span></a>' + - '<span class="selectedActions hidden">' + + '<span class="selectedActions hidden"></span>' + '</th>' + '<th class="hidden column-mtime">' + '<a class="columntitle" data-sort="mtime"><span class="sort-indicator"></span></a>' + diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 4120050be48..6475845321d 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -172,7 +172,7 @@ $getUserAvatar = static function (int $size) use ($_): string { <ul> <?php foreach ($_['settingsnavigation'] as $entry):?> <li data-id="<?php p($entry['id']); ?>"> - <a href="<?php print_unescaped($entry['href']); ?>" + <a href="<?php print_unescaped($entry['href'] !== '' ? $entry['href'] : '#'); ?>" <?php if ($entry["active"]): ?> class="active"<?php endif; ?>> <img alt="" src="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>"> <?php p($entry['name']) ?> |