Minor html formatting
Cette révision appartient à :
Parent
8391fc57bc
révision
f0a82c52cf
1 fichiers modifiés avec 14 ajouts et 14 suppressions
28
templates/user/profile.html
Fichier normal → Fichier exécutable
28
templates/user/profile.html
Fichier normal → Fichier exécutable
|
@ -26,13 +26,13 @@
|
||||||
<!-- SIDEBAR BUTTONS -->
|
<!-- SIDEBAR BUTTONS -->
|
||||||
<div class="profile-userbuttons">
|
<div class="profile-userbuttons">
|
||||||
{{if gt $.User.ID 0 }}
|
{{if gt $.User.ID 0 }}
|
||||||
{{if not (CurrentUserIdentical $.User .ID) }}
|
{{if not (CurrentUserIdentical $.User .ID) }}
|
||||||
{{if not (IsFollower . $.User)}}
|
{{if not (IsFollower . $.User)}}
|
||||||
<a href="{{ genRoute "user_follow" "id" ( print .ID ) "username" .Username }}" class="btn btn-success btn-sm">{{ T "follow"}}</a>
|
<a href="{{ genRoute "user_follow" "id" ( print .ID ) "username" .Username }}" class="btn btn-success btn-sm">{{ T "follow"}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="{{ genRoute "user_follow" "id" ( print .ID ) "username" .Username }}" class="btn btn-danger btn-sm">{{ T "unfollow"}}</a>
|
<a href="{{ genRoute "user_follow" "id" ( print .ID ) "username" .Username }}" class="btn btn-danger btn-sm">{{ T "unfollow"}}</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
<!-- <button type="button" class="btn btn-danger btn-sm">Message</button> -->
|
<!-- <button type="button" class="btn btn-danger btn-sm">Message</button> -->
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,13 +46,13 @@
|
||||||
{{T "torrents"}} </a>
|
{{T "torrents"}} </a>
|
||||||
</li>
|
</li>
|
||||||
{{if gt $.User.ID 0 }}
|
{{if gt $.User.ID 0 }}
|
||||||
{{if CurrentOrAdmin $.User .ID }}
|
{{if CurrentOrAdmin $.User .ID }}
|
||||||
<li>
|
<li>
|
||||||
<a href="?edit">
|
<a href="?edit">
|
||||||
<i class="glyphicon glyphicon-user"></i>
|
<i class="glyphicon glyphicon-user"></i>
|
||||||
{{T "settings"}} </a>
|
{{T "settings"}} </a>
|
||||||
</li>
|
</li>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Référencer dans un nouveau ticket