Fallback for no question asked
This commit is contained in:
@ -14,7 +14,13 @@
|
|||||||
%>
|
%>
|
||||||
<%= user %> | <%= @request_for_comment.requested_at %>
|
<%= user %> | <%= @request_for_comment.requested_at %>
|
||||||
</p>
|
</p>
|
||||||
<h5><%=t('activerecord.attributes.request_for_comments.question')%>: "<%= @request_for_comment.question %>"</h5>
|
<h5>
|
||||||
|
<% if @request_for_comment.question %>
|
||||||
|
<%= t('activerecord.attributes.request_for_comments.question')%>: "<%= @request_for_comment.question %>"
|
||||||
|
<% else %>
|
||||||
|
<%= t('request_for_comments.no_question') %>
|
||||||
|
<% end %>
|
||||||
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@ -326,6 +326,7 @@ de:
|
|||||||
index:
|
index:
|
||||||
get_my_comment_requests: Meine Kommentaranfragen
|
get_my_comment_requests: Meine Kommentaranfragen
|
||||||
all: "Alle Kommentaranfragen"
|
all: "Alle Kommentaranfragen"
|
||||||
|
no_question: "Der Autor hat keine Frage zu dieser Anfrage gestellt."
|
||||||
sessions:
|
sessions:
|
||||||
create:
|
create:
|
||||||
failure: Fehlerhafte E-Mail oder Passwort.
|
failure: Fehlerhafte E-Mail oder Passwort.
|
||||||
|
@ -326,6 +326,7 @@ en:
|
|||||||
index:
|
index:
|
||||||
all: All Requests for Comments
|
all: All Requests for Comments
|
||||||
get_my_comment_requests: My Requests for Comments
|
get_my_comment_requests: My Requests for Comments
|
||||||
|
no_question: "The author did not enter a question for this request."
|
||||||
sessions:
|
sessions:
|
||||||
create:
|
create:
|
||||||
failure: Invalid email or password.
|
failure: Invalid email or password.
|
||||||
|
Reference in New Issue
Block a user