diff options
author | Simon Rettberg | 2019-03-05 10:07:00 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-05 10:07:00 +0100 |
commit | 29f8aa45a85a01ccdfbd958020740e369b29a16b (patch) | |
tree | 7a829ff7495151e33fcf92ef4f3d37ed11e70b47 /modules-available/main/templates | |
parent | [main] Make product name configurable (diff) | |
download | slx-admin-29f8aa45a85a01ccdfbd958020740e369b29a16b.tar.gz slx-admin-29f8aa45a85a01ccdfbd958020740e369b29a16b.tar.xz slx-admin-29f8aa45a85a01ccdfbd958020740e369b29a16b.zip |
[main] Fix caps of do=xxx links, remove extra translation link
Diffstat (limited to 'modules-available/main/templates')
-rw-r--r-- | modules-available/main/templates/main-menu.html | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/modules-available/main/templates/main-menu.html b/modules-available/main/templates/main-menu.html index bababc17..92422425 100644 --- a/modules-available/main/templates/main-menu.html +++ b/modules-available/main/templates/main-menu.html @@ -1,10 +1,10 @@ <div class="slx-topbar"> <div> {{#warning}} - <a href="?do=EventLog"><span class="slx-warning-badge badge"><span class="glyphicon glyphicon-exclamation-sign"></span> {{lang_warning}}</span></a> + <a href="?do=eventlog"><span class="slx-warning-badge badge"><span class="glyphicon glyphicon-exclamation-sign"></span> {{lang_warning}}</span></a> {{/warning}} {{#needsSetup}} - <a href="?do=Main"><span class="slx-warning-badge badge"><span class="glyphicon glyphicon-exclamation-sign"></span> {{lang_needsSetup}}</span></a> + <a href="?do=main"><span class="slx-warning-badge badge"><span class="glyphicon glyphicon-exclamation-sign"></span> {{lang_needsSetup}}</span></a> {{/needsSetup}} </div> </div> @@ -19,7 +19,7 @@ <span class="icon-bar"></span> <span class="icon-bar"></span> </button> - <a class="navbar-brand" href="?do=Main">{{product_name}}</a> + <a class="navbar-brand" href="?do=main">{{product_name}}</a> <div id="navbar-sub" class="gray small"></div> </div> <!-- Collect the nav links, forms, and other content for toggling --> @@ -45,7 +45,6 @@ <b class="caret"></b> </a> <ul class="dropdown-menu"> - <li><a href="?do=Translation">{{lang_translations}}</a></li> <li class="dropdown-header">{{lang_language}}</li> {{#langs}} <li><a href="?lang={{cc}}&url={{url}}"><img src="lang/{{cc}}/flag.png" alt="{{name}}"> {{name}}</a></li> @@ -58,7 +57,7 @@ {{#user}} <li><span>{{lang_loggedInPrefix}} {{user}} {{lang_loggedInSuffix}}</span></li> <li> - <form id="logoutForm" method="post" action="?do=Session"> + <form id="logoutForm" method="post" action="?do=session"> <input type="hidden" name="token" value="{{token}}"> <input type="hidden" name="action" value="logout"> <a href="?do=session" class="btn btn-default btn-xs">{{lang_changePassword}}</a> @@ -67,7 +66,7 @@ </li> {{/user}} {{^user}} - <li><a href="?do=Session&action=login">{{lang_login}}</a></li> + <li><a href="?do=session&action=login">{{lang_login}}</a></li> {{/user}} </ul> @@ -86,7 +85,7 @@ </ul> {{/user}} {{^user}} - <a type="button" href="?do=Session&action=login" class="btn btn-default">{{lang_login}}</a> + <a type="button" href="?do=session&action=login" class="btn btn-default">{{lang_login}}</a> {{/user}} </li> </ul> |