Skip to content

Commit b896cd7

Browse files
PVince81nextcloud-command
authored andcommitted
Add missing closing spans and avoid empty href
Signed-off-by: Vincent Petry <[email protected]> Signed-off-by: nextcloud-command <[email protected]>
1 parent 32c6153 commit b896cd7

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

apps/files_sharing/tests/js/publicAppSpec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ describe('OCA.Sharing.PublicApp tests', function() {
7474
'<a class="name columntitle" data-sort="name"><span>Name</span><span class="sort-indicator"></span></a>' +
7575
'<span class="selectedActions hidden">' +
7676
'<a href class="download">Download</a>' +
77+
'</span>' +
7778
'</th>' +
7879
'<th class="hidden column-size"><a class="columntitle" data-sort="size"><span class="sort-indicator"></span></a></th>' +
7980
'<th class="hidden column-mtime"><a class="columntitle" data-sort="mtime"><span class="sort-indicator"></span></a></th>' +

apps/files_trashbin/templates/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<div class="column-name-container">
3232
<a class="name sort columntitle" data-sort="name"><span><?php p($l->t('Name')); ?></span><span class="sort-indicator"></span></a>
3333
<span class='selectedActions'>
34-
<a href="" class="actions-selected">
34+
<a href="#" class="actions-selected">
3535
<span class="icon icon-more"></span>
3636
<span><?php p($l->t('Actions'))?></span>
3737
</a>

apps/systemtags/tests/js/systemtagsfilelistSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('OCA.SystemTags.FileList tests', function() {
4040
'<th class="hidden column-name">' +
4141
'<input type="checkbox" id="select_all_files" class="select-all">' +
4242
'<a class="name columntitle" data-sort="name"><span>Name</span><span class="sort-indicator"></span></a>' +
43-
'<span class="selectedActions hidden">' +
43+
'<span class="selectedActions hidden"></span>' +
4444
'</th>' +
4545
'<th class="hidden column-mtime">' +
4646
'<a class="columntitle" data-sort="mtime"><span class="sort-indicator"></span></a>' +

core/templates/layout.user.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<ul>
176176
<?php foreach ($_['settingsnavigation'] as $entry):?>
177177
<li data-id="<?php p($entry['id']); ?>">
178-
<a href="<?php print_unescaped($entry['href']); ?>"
178+
<a href="<?php print_unescaped($entry['href'] !== '' ? $entry['href'] : '#'); ?>"
179179
<?php if ($entry["active"]): ?> class="active"<?php endif; ?>>
180180
<img alt="" src="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>">
181181
<?php p($entry['name']) ?>

0 commit comments

Comments
 (0)