mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
rrs: support new source structure in recipe detail
In the rrs branch we used to just store SRC_URI in a field, however we now have a proper model to store sources, so use that in the RRS recipe detail page. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
ebceecb7fd
commit
c78fbde643
|
@ -147,9 +147,15 @@
|
|||
<dd><a href="{{ recipe.bugtracker }}">{{ recipe.bugtracker }}</a></dd>
|
||||
{% endif %}
|
||||
|
||||
{% if recipe.src_uri %}
|
||||
<dt>Source URI</dt>
|
||||
<dd><a href="{{ recipe.src_uri }}">{{ recipe.src_uri }}</a></dd>
|
||||
{% if recipe.source_set.exists %}
|
||||
<dt>Sources</dt>
|
||||
<dd>
|
||||
<ul class="unstyled">
|
||||
{% for source in recipe.source_set.all %}
|
||||
<li><a href="{{ source.url }}">{{ source.url }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</dd>
|
||||
{% endif %}
|
||||
|
||||
{% if recipe_provides %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user