Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/templates/user/profile.html
akuma06 d4b36e2489 Fixes block templates for title and rss (#1068)
* Fixes block templates for title and rss

* Remove duplicate og site_name
* add rss links in meta for torznab and eztv
* Fixed 404 Error in og site_name

* Git didn't update the view fast enough
2017-06-25 01:54:33 +02:00

20 lignes
707 o
HTML
Fichier exécutable

{{define "title"}}{{ call $.T "profile_page" .UserProfile.Username }}{{end}}
{{define "contclass"}}cont-view{{end}}
{{define "rss_link"}}{{ genRoute "feed_user" "id" ( print .UserProfile.ID ) "username" .UserProfile.Username }}{{end}}
{{define "rss_moreparam"}}&userID={{print .UserProfile.ID}}{{end}}
{{define "rsstitle" }}{{ .UserProfile.Username }}{{end}}
{{define "content"}}
{{ range (index $.FormInfos "infos")}}
<p class="success-text">{{ . }}</p>
{{end}}
{{with .UserProfile}}
<div class="profile-main">
<div class="box profile-panel">
{{ block "profile_menu" $ }}{{end}}
</div>
{{end}}
<div class="profile-content box">
{{ block "profile_content" . }}{{end}}
</div>
</div>
{{end}}