Albirew/nyaa-pantsu
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/site/user/notifications.jet.html

28 lignes
760 B
HTML
Brut Annotations Historique

Ce fichier contient des caractères Unicode invisibles.

Ce fichier contient des caractères Unicode invisibles à l'œil nu, mais peuvent être traités différemment par un ordinateur. Si vous pensez que c'est intentionnel, vous pouvez ignorer cet avertissement. Utilisez le bouton Échappe pour les dévoiler.

{{ extends "layouts/profile" }}
{{ import "layouts/partials/menu/profile" }}
{{block title()}}{{ T("profile_edit_page", User.Username) }}{{end}}
{{ block profile_navigation()}}{{ yield profile_menu(route="profile") }}{{end}}
{{block profile_content()}}
{{ if len(User.Notifications) > 0}}
<div>
<a href="/notifications?clear" class="btn btn-red pull-right"> {{ T("clear_notifications") }}</a>
<div style="clear: both;"></div>
</div>
<table>
{{ range User.Notifications }}
<tr>
<td{{ if !.Read }} class="btn-orange"{{end}}>
<div style="padding: 0 1rem 1rem;">
<a href="{{ .URL }}?notif">
<h3>{{ .Content }}</h3>
</a>
</div>
</td>
</tr>
{{end}}
</table>
{{else}}
<h2>{{ T("no_notifications") }}</h2>
{{end}}
{{end}}