Merge pull request #124 from openHPI/rfc-enhancements

Rfc enhancements
This commit is contained in:
rteusner
2017-08-23 14:44:23 +02:00
committed by GitHub
6 changed files with 44 additions and 3 deletions

View File

@ -94,6 +94,7 @@ de:
requested_at: Angefragezeitpunkt
question: "Frage"
close: "Fenster schließen"
last_update: "Letzte Aktivität"
submission:
cause: Anlass
code: Code
@ -456,6 +457,8 @@ de:
index:
get_my_comment_requests: Meine Kommentaranfragen
all: "Alle Kommentaranfragen"
get_rfcs_with_my_comments: Kommentaranfragen die ich kommentiert habe
get_my_rfc_activity: "Meine Kommentaraktivität"
no_question: "Der Autor hat keine Frage zu dieser Anfrage gestellt."
mark_as_solved: "Diese Frage als beantwortet markieren"
show_all: "Alle Anfragen anzeigen"

View File

@ -115,6 +115,7 @@ en:
requested_at: Request Date
question: "Question"
close: Close window
last_update: "Last Update"
submission:
cause: Cause
code: Code
@ -477,6 +478,8 @@ en:
index:
all: All Requests for Comments
get_my_comment_requests: My Requests for Comments
get_rfcs_with_my_comments: Requests for Comments I have commented on
get_my_rfc_activity: "My Comment Activity"
no_question: "The author did not enter a question for this request."
mark_as_solved: "Mark this question as answered"
show_all: "All requests"

View File

@ -20,6 +20,7 @@ Rails.application.routes.draw do
end
end
get '/my_request_for_comments', as: 'my_request_for_comments', to: 'request_for_comments#get_my_comment_requests'
get '/my_rfc_activity', as: 'my_rfc_activity', to: 'request_for_comments#get_rfcs_with_my_comments'
delete '/comment_by_id', to: 'comments#destroy_by_id'
put '/comments', to: 'comments#update'