Permalink
Browse files

Merge pull request #566 from sarken/issue_2994

Fix issue 2994 with drafts being indistinct from posted works
  • Loading branch information...
2 parents 9f01f88 + 8612aa8 commit 5066ae3e75f7ca91ba28e10d43bb668c9891ed99 @elzj elzj committed Apr 13, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 app/views/works/show.html.erb
@@ -3,6 +3,11 @@
<li><a name="top">&nbsp;</a></li>
<li><a href="#work">Skip header</a></li>
</ul>
+<% if !@work.posted? %>
+ <p class="notice">
+ <%= ts("This work is a draft and has not been posted.") %>
+ </p>
+<% end %>
<% if @work.unrevealed? %>
<p class="notice">
<%= ts("This work is part of an ongoing challenge and will be revealed soon! You can find details here: ") %>

0 comments on commit 5066ae3

Please sign in to comment.