Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
Merge branch '843/usable'
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Mar 23, 2017
2 parents ebfe519 + f2ef379 commit 2fd5af4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions census/views/entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ <h3>{{ gettext("What data is available?") }}</h3>
{%- endfor %}
</ul>

{% set usability_answer = entry.getAnswerValueForQuestion({id: 'usability'}) %}
{% if usability_answer %}
<div class="row">
<div class="col-md-12">
<h3>{{ gettext("Data Usability") }} <span class="label label-warning">{{ gettext("Beta") }}</span></h3>
<p>{{ gettext("The submitter assessed the usability of the data as follows (3 - little to no effort needed, 1 - extensive effort needed)") }}: <strong>{{ usability_answer }}</strong></p>
</div>
</div>
{% endif %}

{% if not is_index %}
{% set answers = entry.getSimpleAnswersForQuestions(questions) %}
<h3>{{ gettext("All answers") }}</h3>
Expand Down

0 comments on commit 2fd5af4

Please sign in to comment.