aboutsummaryrefslogtreecommitdiffstats
path: root/lib/srtgui/templates/snippets/investigations_popover.html
blob: 0f65d3d40624604d9428ff1d12c2519f0e74ba87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{# Popover that displays the Investigations related to this Product #}
{% load projecttags %}

{% with investigations='Wind River Linux 9' %}
{% with count_investigations=1 %}

{% if count_investigations > 0 %}
  <a data-content='<ul class="list-unstyled">
  {% for dep in investigations.packages %}
     <li>
      {{dep.depends_on.name}}
     </li>
   {% endfor %}
   </ul>' class="btn btn-default" title='
   <strong>
      {{data.name}}
      </strong>
      dependencies -
      <strong>{{investigations.size|filtered_filesizeformat}}</strong>'>
      {{count_investigations}}
  </a>
{% endif %}

{% endwith %}
{% endwith %}