Skip to content

Commit

Permalink
Issue #208 fixing wrong documentation in master
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdullRahman ElHusseini committed Apr 24, 2014
1 parent 4a01ac8 commit 5d223ea
Showing 1 changed file with 20 additions and 26 deletions.
46 changes: 20 additions & 26 deletions tutor/app/views/tracks/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,16 @@
<div class="panel-title list-group-item list-group-item-info"
data-toggle="collapse" data-parent="#accordion"
href="#<%= problem.id.to_s %>">
<b onclick="window.open('/problems/<%= problem.id.to_s %>', '_self')">
<%= link_to problem.title, problem , style: 'color:#003366;' ,
class: color %></b>
<span class="badge">
<% if student_signed_in? %>
<div onclick="showdialog(<%= problem.id.to_s %>,
<%= current_student.id %>)">
Recommend to classmates</div>
<% end %>
</span>
<!-- <span class="badge">p.success_attempts</span> -->
<!-- Reminder for me to uncomment this line
when it is supported again in the database -->
<b onclick="window.open('/problems/<%= problem.id.to_s %>', '_self')">
<%= link_to problem.title, problem , style: 'color:#003366;' ,
class: color %></b>
<span class="badge">
<% if student_signed_in? %>
<div onclick="showdialog(<%= problem.id.to_s %>,
<%= current_student.id %>)">
Recommend to classmates</div>
<% end %>
</span>
</div>
<div id="<%= problem.id.to_s %>" class="panel-collapse collapse">
<%= problem.description %>
Expand All @@ -67,19 +64,16 @@
<div class="panel-title list-group-item list-group-item-info"
data-toggle="collapse" data-parent="#accordion"
href="#<%= problem.id.to_s %>">
<b onclick="window.open('/problems/<%= problem.id.to_s %>', '_self')">
<%= link_to problem.title, problem , style: 'color:#003366;' ,
class: color %></b>
<span class="badge">
<% if student_signed_in? %>
<div onclick="showdialog(<%= problem.id.to_s %>,
<%= current_student.id %>)">
Recommend to classmates</div>
<% end %>
</span>
<!-- <span class="badge">p.success_attempts</span> -->
<!-- Reminder for me to uncomment this line
when it is supported again in the database -->
<b onclick="window.open('/problems/<%= problem.id.to_s %>', '_self')">
<%= link_to problem.title, problem , style: 'color:#003366;' ,
class: color %></b>
<span class="badge">
<% if student_signed_in? %>
<div onclick="showdialog(<%= problem.id.to_s %>,
<%= current_student.id %>)">
Recommend to classmates</div>
<% end %>
</span>
</div>
<div id="<%= problem.id.to_s %>" class="panel-collapse collapse">
<%= problem.description %>
Expand Down

0 comments on commit 5d223ea

Please sign in to comment.