role_index.tpl 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {% for block_item in blocks %}
  2. <div id="tabs-{{ loop.index }}" class="span6">
  3. <div class="well_border {{ block_item.class }}">
  4. <h4>{{ block_item.icon }} {{ block_item.label }}</h4>
  5. <div style="list-style-type:none">
  6. {{ block_item.search_form }}
  7. </div>
  8. {% if block_item.items is not null %}
  9. <ul>
  10. {% for url in block_item.items %}
  11. <li>
  12. <a href="{{ url.url }}">
  13. {{ url.label }}
  14. </a>
  15. </li>
  16. {% endfor %}
  17. </ul>
  18. {% endif %}
  19. {% if block_item.extra is not null %}
  20. <div>
  21. {{ block_item.extra }}
  22. </div>
  23. {% endif %}
  24. </div>
  25. </div>
  26. {% endfor %}
  27. <div class="span6">
  28. <div class="well_border">
  29. <ul>
  30. <li>
  31. <a href="{{ url('question_score.controller:indexAction') }}">{{ 'Question score name' |trans }}</a>
  32. </li>
  33. <li>
  34. <a href="{{ url('question_score_name.controller:indexAction') }}">{{ 'Question names' |trans }}</a>
  35. </li>
  36. </ul>
  37. </div>
  38. </div>