Merge branch 'master' of github.com:flxw/codeocean

This commit is contained in:
Ralf Teusner
2015-04-10 20:23:58 +02:00
5 changed files with 13 additions and 7 deletions

View File

@ -1,4 +1,4 @@
<h1>Listing comment requests</h1> <h1><%= t('exercises.implement.comment.listing') %></h1>
<div class="list-group"> <div class="list-group">
<% @request_for_comments.each do |request_for_comment| %> <% @request_for_comments.each do |request_for_comment| %>

View File

@ -7,14 +7,14 @@
<form class="form-inline"> <form class="form-inline">
<div class="form-group"> <div class="form-group">
<p style='display:inline-block'>Line</p> <p style='display:inline-block'><%= t('exercises.implement.comment.line') %></p>
<input type="number" class="form-control" id="lineInput" placeholder="1" required> <input type="number" class="form-control" id="lineInput" placeholder="1" required>
</div> </div>
<div class="form-group"> <div class="form-group">
<p style='display:inline-block'>Comment</p> <p style='display:inline-block'><%= t('exercises.implement.comment.a_comment') %></p>
<input type="text" class="form-control" id="commentInput" placeholder="I'd suggest a variable here" required> <input type="text" class="form-control" id="commentInput" placeholder="I'd suggest a variable here" required>
</div> </div>
<button id='submitComment' type="submit" class="btn btn-default">Comment!</button> <button id='submitComment' type="submit" class="btn btn-default"><%= t('exercises.implement.comment.addComment') %>!</button>
</form> </form>
<div id='commentitor' class='editor' data-read-only='true' data-file-id='<%=@request_for_comment.fileid%>'> <div id='commentitor' class='editor' data-read-only='true' data-file-id='<%=@request_for_comment.fileid%>'>

View File

@ -9,7 +9,7 @@ development:
enabled: true enabled: true
url: http://example.org:3000/api/exceptioninfo?id=&lang=auto url: http://example.org:3000/api/exceptioninfo?id=&lang=auto
code_pilot: code_pilot:
enabled: true enabled: false
url: //localhost:3000 url: //localhost:3000
production: production:

View File

@ -210,11 +210,14 @@ de:
test_count: '<span class="number">%{count}</span> Test-Dateien wurden ausgeführt.' test_count: '<span class="number">%{count}</span> Test-Dateien wurden ausgeführt.'
workspace: Arbeitsbereich workspace: Arbeitsbereich
comment: comment:
a_comment: Kommentar
line: Zeile
dialogtitle: Kommentieren Sie diese Zeile! dialogtitle: Kommentieren Sie diese Zeile!
others: Andere Kommentare auf dieser Zeile others: Andere Kommentare auf dieser Zeile
addyours: Fügen Sie Ihren Kommentar hinzu addyours: Fügen Sie Ihren Kommentar hinzu
addComment: Hinzufügen addComment: Kommentieren
removeAllOnLine: Alle Kommentare auf dieser Zeile löschen removeAllOnLine: Alle Kommentare auf dieser Zeile löschen
listing: Die neuesten Kommentaranfragen
index: index:
clone: Duplizieren clone: Duplizieren
implement: Implementieren implement: Implementieren

View File

@ -210,11 +210,14 @@ en:
test_count: '<span class="number">%{count}</span> test files have been executed.' test_count: '<span class="number">%{count}</span> test files have been executed.'
workspace: Workspace workspace: Workspace
comment: comment:
a_comment: comment
line: line
dialogtitle: Comment on this line! dialogtitle: Comment on this line!
others: Other comments on this line others: Other comments on this line
addyours: Add your comment addyours: Add your comment
addComment: Add comment addComment: Comment this
removeAllOnLine: Remove all comments on this line removeAllOnLine: Remove all comments on this line
listing: Listing the newest comment requests
index: index:
clone: Duplicate clone: Duplicate
implement: Implement implement: Implement