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, '$channel_usage_message' => $channel_usage_message,
'$delegated_desc' => t('Delegated Channel'), '$delegated_desc' => t('Delegated Channel'),
'$delegates' => $delegates, '$delegates' => $delegates,
'$locs' => t('Manage locations')
)); ));

View File

@ -44,6 +44,10 @@
<i class="icon-user{{if $channel.intros != 0}} new-notification{{/if}}"></i> <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}} {{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>
<div class="channel-link">
<i class="icon-map-marker"></i>
<a href="manage/{{$channel.channel_id}}/locs">{{$locs}}</a>
</div>
{{/if}} {{/if}}
</div> </div>
</div> </div>

View File

@ -1,6 +1,6 @@
<div class="generic-content-wrapper"> <div class="generic-content-wrapper">
<div class="section-title-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> <h2>{{$header}}</h2>
</div> </div>
<div class="section-content-wrapper-np"> <div class="section-content-wrapper-np">