424633631c
* Torrent Mass Edit Api (WIP) * Torrents can be deleted in mass from frontend with api post request * Torrents status can be edited from frontend with api post request -- Look to function doc for more info on how to use it It is a WIP so it might not work =D * Finished Mass mod Api As per suggestion of @yiiTT in #720, I added: * Changing torrents category * Deletion of reports with deletion of a torrent * Changing owner of multiple torrents Commit also add some new translation strings. * Make some changes * Reports can now be cleared for the torrents selected without having to delete them * Users with no admin rights can't delete reports * Fix moveto to status moveto deprecated in api * Tested and works! Changes: * Updates only the colomns of torrent table * Moved categories config in config/torrents.go * Make sort arrows look a lot nicer * Add search icon into search input * Work on navbar, fix it on mobile view * Hide mascot on mobile views * Make torrent view work on mobile + minor improvements * Add status and various things to view * ACTUALLY FINISH VIEW PAGE * Forgot this file in last commit * wow user profile was easy * Work on profile page * remove language option * SEO improvement * forgot the fucking bracket * make description more weeb * add irony * add better irony * Update README.md * Make sort arrows look a lot nicer * Add search icon into search input * Work on navbar, fix it on mobile view * Hide mascot on mobile views * Make torrent view work on mobile + minor improvements * Add status and various things to view * ACTUALLY FINISH VIEW PAGE * wow user profile was easy * Work on profile page * remove language option * SEO improvement * forgot the fucking bracket * make description more weeb * add irony * add better irony
20 lignes
Pas d'EOL
781 o
HTML
20 lignes
Pas d'EOL
781 o
HTML
{{define "profile_notifications_content"}}
|
||
{{with .User}}
|
||
<div>
|
||
<a href="{{ genRoute "user_notifications" }}?clear" class="btn btn-danger pull-right"><i class="glyphicon glyphicon-trash"></i> {{ call $.T "clear_notifications" }}</a>
|
||
<div style="clear: both;"></div>
|
||
</div>
|
||
{{ range (index $.Infos "infos")}}
|
||
<div class="alert alert-info"><a class="panel-close close" data-dismiss="alert">×</a><i class="glyphicon glyphicon-info-sign"></i> {{ . }}</div>
|
||
{{end}}
|
||
<table class="table table-hover table-striped">
|
||
{{ range .Notifications }}
|
||
<tr><td>
|
||
<div style="padding: 0 1rem 1rem;">
|
||
<a href="{{ .Url }}?notif"><h3><i class="glyphicon glyphicon-bell profile-usertitle-name" ></i>{{ .Content }}</h3></a>
|
||
</div>
|
||
</td></tr>
|
||
{{end}}
|
||
</table>
|
||
{{end}}
|
||
{{end}} |