mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
Show actual branch on layer detail
If the layer has an actual_branch set, then show it underneath the URL on the layer detail page so that the reader knows which branch they need to check out to see what the index shows. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
fc156726e6
commit
3a69495904
|
@ -100,6 +100,12 @@
|
|||
{% endif %}
|
||||
</p>
|
||||
|
||||
{% if layerbranch.actual_branch %}
|
||||
<p>
|
||||
<span class="muted">(actual branch {{ layerbranch.actual_branch }})</span>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if layerbranch.vcs_subdir %}
|
||||
<h4>Subdirectory</h4>
|
||||
<p><span data-toggle="tooltip" title="Select subdirectory"><i class="glyphicon glyphicon-circle-arrow-right selectallicon" for="vcs_subdir" id="vcs_subdir_select" aria-hidden="true"></i></span><span id="vcs_subdir" class="copyable">{{ layerbranch.vcs_subdir }}</span>
|
||||
|
|
Loading…
Reference in New Issue
Block a user