mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:19:02 +02:00
templates: add bbclasstype badge
Now that we have different BBClass subtypes, it is handy to have a UI indication of the different types. Add "badges" to display "Global" (for 'classes-global' paths) or "Recipe" (for 'classes-recipe' paths). [YOCTO #15238] Signed-off-by: Tim Orling <tim.orling@konsulko.com>
This commit is contained in:
parent
c99a7beddf
commit
38ec722128
|
@ -54,7 +54,10 @@
|
|||
<tbody>
|
||||
{% for class in class_list %}
|
||||
<tr>
|
||||
<td><a href="{{ class.vcs_web_url }}">{{ class.name }}</a></td>
|
||||
<td>
|
||||
<a href="{{ class.vcs_web_url }}">{{ class.name }}</a>
|
||||
<span class="badge badge-info" id="id_bbclass_type">{{ class.bbclass_type }}</span>
|
||||
</td>
|
||||
<td><a href="{% url 'layer_item' url_branch class.layerbranch.layer.name %}">{{ class.layerbranch.layer.name }}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
|
@ -311,7 +311,10 @@
|
|||
<tbody>
|
||||
{% for class in classes %}
|
||||
<tr>
|
||||
<td><a href="{{ class.vcs_web_url }}">{{ class.name }}</a></td>
|
||||
<td>
|
||||
<a href="{{ class.vcs_web_url }}">{{ class.name }}</a>
|
||||
<span class="badge badge-info" id="id_bbclass_typ">{{ class.bbclass_type }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in New Issue
Block a user