Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Adding front end for annoucements

Cette révision appartient à :
akuma06 2017-08-03 03:46:24 +02:00
Parent 1dbfe1b3b4
révision 5d54f57ac3
2 fichiers modifiés avec 5 ajouts et 1 suppressions

Voir le fichier

@ -10,6 +10,11 @@
{{block titleBase()}} - {{block title()}}{{end}}{{end}}
{{ block content_body_base()}}
{{ if isset(Infos["system"])}}
{{ range Infos["system"]}}
<div id="announce"><span style="font-weight:bold;">{{T("announcement")}}</span><br>{{ . }}</div>
{{ end }}
{{ end }}
{{ yield search_refine(url=URL.Parse("/search")) }}
{{ block content_body()}}{{end}}
{{end}}

Voir le fichier

@ -3,7 +3,6 @@
{{block title()}}{{ T("home")}}{{end}}
{{block contclass()}}{{if User.HasAdmin() }}content-admin{{end}}{{end}}
{{block content_body()}}
<div id="announce"><span style="font-weight:bold;">{{T("announcement")}}</span><br>[This is my announcement text]</div>
<!-- Contain the table within a grid, as for better sizing -->
<div class="results box">
<table>