Skip to content

Commit

Permalink
Fixed bug in display of QA/QC column values in the case where the val…
Browse files Browse the repository at this point in the history
…ue is not

editable (the "else" branch).  C.f. Github issue #303.
  • Loading branch information
gsrohde committed Jun 16, 2015
1 parent d5cdcb0 commit 4877a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/yields/_index_table.html.erb
Expand Up @@ -36,7 +36,7 @@
</td>

<% else %>
<td class="center"><%= ["failed","unchecked","passed"][y.checked-1] %></td>
<td class="center"><%= ["failed","unchecked","passed"][y.checked + 1] %></td>
<% end %>
<% if ( current_user.access_level < y.access_level ) or ( current_user.access_level = y.access_level and y.checked ) or ( y.user_id == current_user.id ) or ( current_user.page_access_level <= 2 )%>
Expand Down

0 comments on commit 4877a51

Please sign in to comment.