1
1
Fork 0

Move mod/manage to src/Module/Delegation

- Move templates/manage to templates/delegation
- Update navigation links
- Update CSS classes
This commit is contained in:
Hypolite Petovan 2019-10-11 12:37:24 -04:00
commit 02f02d44dc
25 changed files with 204 additions and 202 deletions

View file

@ -17,7 +17,7 @@ nav a:hover,
color: #000;
}
.manage-notify {
.delegation-notify {
background-color: #CB4437;
border-radius: 10px;
font: bold 11px/16px Arial;

View file

@ -54,7 +54,7 @@ nav a:hover,
color: #000;
}
.manage-notify {
.delegation-notify {
background-color: #CB4437;
border-radius: 10px;
font: bold 11px/16px Arial;

View file

@ -725,7 +725,7 @@ nav .nav-menu:hover {
text-decoration: none;
}
.manage-notify {
.delegation-notify {
background-color: #F80;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
@ -2923,12 +2923,12 @@ a.mail-list-link {
margin: 0px;
}
#identity-manage-desc {
#identity-delegation-desc {
margin-top:15px;
margin-bottom: 15px;
}
#identity-manage-choose {
#identity-delegation-choose {
margin-bottom: 15px;
}

View file

@ -84,7 +84,7 @@
{{if $nav.introductions}}<li role="menuitem"><a class="{{$nav.introductions.2}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a><span id="intro-update-li" class="nav-notify"></span></li>{{/if}}
{{if $nav.contacts}}<li role="menuitem"><a class="{{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a></li>{{/if}}
{{if $nav.messages}}<li role="menuitem"><a class="{{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}} <span id="mail-update-li" class="nav-notify"></span></a></li>{{/if}}
{{if $nav.manage}}<li role="menuitem"><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}
{{if $nav.delegation}}<li role="menuitem"><a class="{{$nav.delegation.2}}" href="{{$nav.delegation.0}}" title="{{$nav.delegation.3}}">{{$nav.delegation.1}}</a></li>{{/if}}
{{if $nav.usermenu.1}}<li role="menuitem"><a class="{{$nav.usermenu.1.2}}" href="{{$nav.usermenu.1.0}}" title="{{$nav.usermenu.1.3}}">{{$nav.usermenu.1.1}}</a></li>{{/if}}
{{if $nav.settings}}<li role="menuitem"><a class="{{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}}
{{if $nav.admin}}

View file

@ -104,7 +104,7 @@ EOT;
// Hide the left menu bar
/// @TODO maybe move this static array out where it should belong?
if (empty($a->page['aside']) && in_array($a->argv[0], ["community", "events", "help", "manage", "notifications",
if (empty($a->page['aside']) && in_array($a->argv[0], ["community", "events", "help", "delegation", "notifications",
"probe", "webfinger", "login", "invite", "credits"])) {
$a->page['htmlhead'] .= "<link rel='stylesheet' href='view/theme/vier/hide.css' />";
}