1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

[bug] abuses reports are not notified to admins

This commit is contained in:
Sylvain 2019-06-26 12:55:38 +02:00
parent 9b6cd9696b
commit ddbb492ace
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# Changelog Fab Manager
- Fix a bug: projects RSS feed fails to render
- Fix a bug: abuses reports are not notified to admins
## v4.0.1 2019 June 17

View File

@ -55,7 +55,7 @@
<% else %>
<li ng-if="!isAuthenticated()"><a href="<%= "/users/auth/#{active_provider.strategy_name}"%>" class="font-sbold label text-md"><i class="fa fa-rocket"></i> {{ 'sign_up' | translate }}</a></li>
<li ng-if="!isAuthenticated()">
<a href="<%= "/users/auth/#{active_provider.strategy_name}"%>" class="font-sbold label text-md"><i class="fa fa-sign-in"></i> {{ 'sign_in' | translate }}</a>
<a href="<%= "/users/auth/#{active_provider.strategy_name}"%>" class="font-sbold label text-md"><i class="fa fa-sign-in"></i> {{ 'sign_in' | translate }}</a>
</li>
<% end %>
</ul>

View File

@ -7,7 +7,7 @@ json.abuses do
json.extract! abuse.signaled, :name, :slug, :published_at
json.author do
json.id abuse.signaled.author.id
json.full_name abuse.signaled.author.profile.full_name
json.full_name abuse.signaled.author&.user&.profile&.full_name
end
end
else