/*border-left: 3px solid #6fdbe8;*/
border-left: 3px solid $link_color;
color: #fff!important;
- background-color: $menu_background_hover_color !important
+ background-color: $menu_background_hover_color !important;
}
-.nav-pills.preferences .dropdown .dropdown-toggle {
- color: #bebebe
+.nav-pills.preferences .dropdown .dropdown-toggle,
+.nav-pills.preferences > li > .btn {
+ color: #bebebe;
}
.nav-pills.preferences .dropdown.open .dropdown-toggle,
.nav-pills.preferences .dropdown.open .dropdown-toggle:hover {
- background-color: $nav_bg
+ background-color: $nav_bg;
}
-.nav-pills.preferences .dropdown .dropdown-toggle {
+.nav-pills.preferences .dropdown .dropdown-toggle,
+.nav-pills.preferences > li > .btn {
padding: 2px 10px;
}
-<script>
+<script language="javascript" type="text/javascript">
// the following functions show/hide the specific profile page content
// in dependence of the selected nav
function profileStandardActive() {
<div id="profile-page" class="generic-page-wrapper">
<h3 class="">{{$title}}</h3>
+ {{* The link to edit the profile*}}
+ {{if $profile.edit}}
+ <ul class="nav nav-pills preferences">
+ <li class="pull-right">
+ <a class="btn btn-link btn-sm" type="button" id="profile-edit-link" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}">
+ <i class="fa fa-pencil-square-o" aria-hidden="true"></i> {{$profile.edit.1}}
+ </a>
+ </li>
+ </ul>
+ <div class="clear"></div>
+ {{/if}}
+
+ {{* Frio does split the profile information in "standard" and "advanced". This is the tab menu for swithching between this modes *}}
<ul id="profile-menu" class="nav nav-tabs" role="menubar" data-tabs="tabs">
<li class="active" role="menuitem"><a id="profile-tab-standard-link" onclick="profileStandardActive(); return false;">{{$basic}}</a></li>
<li role="menuitem"><a id="profile-tab-advanced-link" onclick="profileAdvancedActive(); return false;">{{$advanced}}</a></li>
{{/if}}
</div>
</div>
-