1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-13 23:48:55 +01:00
fab-manager/app/assets/templates/admin/abuses/index.html

42 lines
1.7 KiB
HTML
Raw Normal View History

<section class="heading b-b">
<div class="row no-gutter">
<div class="col-xs-2 col-sm-2 col-md-1">
<section class="heading-btn">
<a href="#" ng-click="backPrevLocation($event)"><i class="fa fa-long-arrow-left "></i></a>
</section>
</div>
<div class="col-xs-10 col-sm-10 col-md-8 b-l">
<section class="heading-title">
2019-12-17 18:06:56 +01:00
<h1 translate>{{ 'app.admin.manage_abuses.abuses_list' }}</h1>
</section>
</div>
</div>
</section>
<section class="m-lg">
<div class="row m-b-md">
2019-12-17 18:06:56 +01:00
<span ng-show="abuses.length === 0" translate>{{ 'app.admin.manage_abuses.no_reports' }}</span>
<ul ng-show="abuses.length > 0">
2019-05-21 11:57:44 +02:00
<li class="abuse" ng-repeat="abuse in abuses">
2019-05-21 11:49:50 +02:00
<div class="signaled">
<a ui-sref="app.public.projects_show({id:abuse.signaled.slug})">{{abuse.signaled.name}}</a>,
2019-12-17 18:06:56 +01:00
<span translate>{{ 'app.admin.manage_abuses.published_by' }}</span>
2019-05-21 11:49:50 +02:00
<a ui-sref="app.admin.members_edit({id:abuse.signaled.author.id})">{{abuse.signaled.author.full_name}}</a>,
2019-12-17 18:06:56 +01:00
<span translate>{{ 'app.admin.manage_abuses.at_date' }}</span>
2019-05-21 11:49:50 +02:00
<span>{{abuse.signaled.published_at | amDateFormat:'L' }}</span>
2019-05-21 12:24:45 +02:00
<button class="btn btn-success" ng-click="confirmProcess(abuse.id)">
<i class="fa fa-check"></i>
</button>
2019-05-21 11:49:50 +02:00
</div>
<div class="report">
2019-12-17 18:06:56 +01:00
<span translate>{{ 'app.admin.manage_abuses.at_date' }}</span>
2019-05-21 11:49:50 +02:00
<span>{{abuse.created_at | amDateFormat:'L' }}</span>,
<a href="mailto:{{abuse.email}}">{{abuse.first_name}} {{abuse.last_name}}</a>
2019-12-17 18:06:56 +01:00
<span translate>{{ 'app.admin.manage_abuses.has_reported' }}</span>
2019-05-21 11:49:50 +02:00
<cite>{{ abuse.message }}</cite>
</div>
</li>
</ul>
</div>
2019-12-17 18:06:56 +01:00
</section>