1
1
Fork 0
friendica_2019-12_sharedHos.../view/templates/friendica.tpl
Hypolite Petovan 7d7a5a65e9 Add download feature for domain block list
- Add new /blocklist/domain/download route
- Add link on /friendica page
2022-07-27 11:54:50 -04:00

41 lines
945 B
Smarty

<div id="friendica">
<h1>Friendica</h1>
<p>{{$about nofilter}}</p>
<p>{{$friendica nofilter}}</p>
<p>{{$bugs nofilter}}</p>
<p>{{$info nofilter}}</p>
<p>{{$visible_addons.title nofilter}}</p>
{{if $visible_addons.list}}
<div style="margin-left: 25px; margin-right: 25px; margin-bottom: 25px;">{{$visible_addons.list}}</div>
{{/if}}
{{if $tos}}
<p>{{$tos nofilter}}</p>
{{/if}}
{{if $block_list}}
<div id="about_blocklist">
<p>{{$block_list.title}}</p>
<table class="table">
<thead>
<tr>
<th>{{$block_list.header[0]}}</th>
<th>{{$block_list.header[1]}}</th>
</tr>
</thead>
<tbody>
{{foreach $block_list.list as $blocked}}
<tr>
<td>{{$blocked.domain}}</td>
<td>{{$blocked.reason}}</td>
</tr>
{{/foreach}}
</tbody>
</table>
<p><a href="/blocklist/domain/download"><i class="fa fa-download"></i> {{$block_list.download}}</a></p>
</div>
{{/if}}
{{$hooked nofilter}}
</div>