Adding front end for annoucements
Cette révision appartient à :
Parent
1dbfe1b3b4
révision
5d54f57ac3
2 fichiers modifiés avec 5 ajouts et 1 suppressions
|
@ -10,6 +10,11 @@
|
||||||
{{block titleBase()}} - {{block title()}}{{end}}{{end}}
|
{{block titleBase()}} - {{block title()}}{{end}}{{end}}
|
||||||
|
|
||||||
{{ block content_body_base()}}
|
{{ 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")) }}
|
{{ yield search_refine(url=URL.Parse("/search")) }}
|
||||||
{{ block content_body()}}{{end}}
|
{{ block content_body()}}{{end}}
|
||||||
{{end}}
|
{{end}}
|
|
@ -3,7 +3,6 @@
|
||||||
{{block title()}}{{ T("home")}}{{end}}
|
{{block title()}}{{ T("home")}}{{end}}
|
||||||
{{block contclass()}}{{if User.HasAdmin() }}content-admin{{end}}{{end}}
|
{{block contclass()}}{{if User.HasAdmin() }}content-admin{{end}}{{end}}
|
||||||
{{block content_body()}}
|
{{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 -->
|
<!-- Contain the table within a grid, as for better sizing -->
|
||||||
<div class="results box">
|
<div class="results box">
|
||||||
<table>
|
<table>
|
||||||
|
|
Référencer dans un nouveau ticket