summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-08 13:14:02 +0200
committerJulius Härtl <jus@bitgrid.net>2018-05-08 13:14:02 +0200
commit897898a93b7e9cb6f86ca7ca64184804e7f61912 (patch)
tree0aeacf3db5c61846967de60905c1d170d6afadfa /core/templates
parent9fe95e8a7cf5f639fe3ba2a3aa33ce4a5c9a77b6 (diff)
downloadnextcloud-server-897898a93b7e9cb6f86ca7ca64184804e7f61912.tar.gz
nextcloud-server-897898a93b7e9cb6f86ca7ca64184804e7f61912.zip
Add data-id to settings navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 1a3a7091c5e..0dd889aa658 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -131,7 +131,7 @@
aria-label="<?php p($l->t('Settings menu'));?>">
<ul>
<?php foreach($_['settingsnavigation'] as $entry):?>
- <li>
+ <li data-id="<?php p($entry['id']); ?>">
<a href="<?php print_unescaped($entry['href']); ?>"
<?php if( $entry["active"] ): ?> class="active"<?php endif; ?>>
<img alt="" src="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>">