Add a link to /locs to channel manager

This commit is contained in:
Mario Vavti 2016-03-22 10:29:17 +01:00
parent 51a840f46a
commit c6b89b99b9
3 changed files with 6 additions and 1 deletions

View file

@ -168,6 +168,7 @@ function manage_content(&$a) {
'$channel_usage_message' => $channel_usage_message,
'$delegated_desc' => t('Delegated Channel'),
'$delegates' => $delegates,
'$locs' => t('Manage locations')
));

View file

@ -44,6 +44,10 @@
<i class="icon-user{{if $channel.intros != 0}} new-notification{{/if}}"></i>
{{if $channel.intros != 0}}<a href='manage/{{$channel.channel_id}}/connections/ifpending'>{{/if}}{{$channel.intros|string_format:$intros_format}}{{if $channel.intros != 0}}</a>{{/if}}
</div>
<div class="channel-link">
<i class="icon-map-marker"></i>
<a href="manage/{{$channel.channel_id}}/locs">{{$locs}}</a>
</div>
{{/if}}
</div>
</div>

View file

@ -1,6 +1,6 @@
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
<a class="btn btn-success btn-xs pull-right" href="{{$create.0}}" title="{{$create.1}}">{{$create.2}}</a>
<a class="btn btn-success btn-xs pull-right" href="{{$create.0}}" title="{{$create.1}}"><i class="icon-plus-sign"></i>&nbsp;{{$create.2}}</a>
<h2>{{$header}}</h2>
</div>
<div class="section-content-wrapper-np">