mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Show author names in problem and translation views
This commit is contained in:
11
app/views/shared/_authors.de.html.erb
Normal file
11
app/views/shared/_authors.de.html.erb
Normal file
@@ -0,0 +1,11 @@
|
||||
<% if authors.empty? %>
|
||||
Diese Übersetung wurde anonym erstellt.
|
||||
<% else %>
|
||||
Diese Übersetzung wurde von
|
||||
<% if local_assigns[:has_anonymous_author] %>
|
||||
<%= (authors.map(&:name)+Array("anonymen Nutzern")).to_sentence %>
|
||||
<% else %>
|
||||
<%= authors.map(&:name).to_sentence %>
|
||||
<% end %>
|
||||
erstellt.
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user