[frio] Fix indentation and wrong button tag usage in vcard templates
This commit is contained in:
parent
58e5f0d9c5
commit
35de254bd2
2 changed files with 16 additions and 14 deletions
|
@ -70,19 +70,21 @@
|
|||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if $profile.addr}}
|
||||
<div id="mention-link-button">
|
||||
<button type="button" id="mention-link" class="btn btn-labeled btn-primary" onclick="openWallMessage('{{$mention_url}}')">
|
||||
<span class=""><i class="fa fa-pencil-square-o"></i></span>
|
||||
<span class="">{{$mention_label}}</span>
|
||||
</div>
|
||||
{{if $profile.addr}}
|
||||
<div id="mention-link-button">
|
||||
<button type="button" id="mention-link" class="btn btn-labeled btn-primary" onclick="openWallMessage('{{$mention_url}}')">
|
||||
<span class=""><i class="fa fa-pencil-square-o"></i></span>
|
||||
<span class="">{{$mention_label}}</span>
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if $network_label}}
|
||||
<div id="showgroup-button">
|
||||
<button type="button" id="showgroup" class="btn btn-labeled btn-primary" onclick="window.location.href=('{{$network_url}}')">
|
||||
<span class=""><i class="fa fa-group"></i></span>
|
||||
<span class="">{{$network_label}}</span>
|
||||
</div>
|
||||
{{if $network_label}}
|
||||
<div id="showgroup-button">
|
||||
<a id="showgroup" class="btn btn-labeled btn-primary" href="{{$network_url}}">
|
||||
<span class=""><i class="fa fa-group"></i></span>
|
||||
<span class="">{{$network_label}}</span>
|
||||
</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -66,10 +66,10 @@
|
|||
{{/if}}
|
||||
{{if $showgroup_link}}
|
||||
<div id="show-group-button">
|
||||
<button type="button" id="show-group" class="btn btn-labeled btn-primary{{if !$always_open_compose}} modal-open{{/if}}" onclick="window.location.href='{{$showgroup_link}}'" title="{{$showgroup}}" aria-label="{{$showgroup}}">
|
||||
<a type="button" id="show-group" class="btn btn-labeled btn-primary" href="{{$showgroup_link}}" title="{{$showgroup}}" aria-label="{{$showgroup}}">
|
||||
<span class=""><i class="fa fa-group"></i></span>
|
||||
<span class="">{{$showgroup}}</span>
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue