mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
[bug] abuses reports are not notified to admins
This commit is contained in:
parent
9b6cd9696b
commit
ddbb492ace
@ -1,6 +1,7 @@
|
|||||||
# Changelog Fab Manager
|
# Changelog Fab Manager
|
||||||
|
|
||||||
- Fix a bug: projects RSS feed fails to render
|
- 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
|
## v4.0.1 2019 June 17
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
<% else %>
|
<% 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-rocket"></i> {{ 'sign_up' | translate }}</a></li>
|
||||||
<li ng-if="!isAuthenticated()">
|
<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>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -7,7 +7,7 @@ json.abuses do
|
|||||||
json.extract! abuse.signaled, :name, :slug, :published_at
|
json.extract! abuse.signaled, :name, :slug, :published_at
|
||||||
json.author do
|
json.author do
|
||||||
json.id abuse.signaled.author.id
|
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
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user