view.tpl 744 B

12345678910111213141516171819202122232425262728293031323334
  1. <div class="page-header">
  2. <h2>
  3. {{ work.title }}
  4. {% if work.contains_file %}
  5. <a href="{{ work.download_url }}">
  6. <img src="{{ "save.png"|icon(22) }}" width="22" height="22">
  7. </a>
  8. {% endif %}
  9. </h2>
  10. </div>
  11. {% if work.url_correction %}
  12. <h3>{{ "Correction" |get_lang }}</h3>
  13. <p>
  14. <a class="btn btn-default" href="{{ work.download_url }}&correction=1">
  15. {{ "Download" |get_lang }}
  16. </a>
  17. </p>
  18. <hr />
  19. {% endif %}
  20. {% if work.description %}
  21. <p>
  22. {{ work.description }}
  23. </p>
  24. {% endif %}
  25. {% if work.contains_file and work.show_content %}
  26. <p>
  27. {{ work.show_content }}
  28. </p>
  29. {% endif %}
  30. {% include template ~ '/work/comments.tpl' %}