diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-03-19 22:35:46 +0000 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-03-20 15:41:58 +0000 |
commit | 0a1215e59e926318691f861943fff9c499d375cb (patch) | |
tree | b4f935c2e6e3ac394098e0896827f4939df07843 /templates | |
parent | ee9176a8c5af51d61f999181006faaf76d578faa (diff) | |
download | openembedded-core-contrib-0a1215e59e926318691f861943fff9c499d375cb.tar.gz |
Move repo subdirectory to layerbranch
So it turns out that one or two layers have changed in structure between
branches, so we need to be able to specify this on a per-branch basis.
Good times...
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/layerindex/detail.html | 4 | ||||
-rw-r--r-- | templates/layerindex/reviewdetail.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/layerindex/detail.html b/templates/layerindex/detail.html index 6cd69e6272..2df242fbbb 100644 --- a/templates/layerindex/detail.html +++ b/templates/layerindex/detail.html @@ -95,9 +95,9 @@ {% endif %} </p> - {% if layeritem.vcs_subdir %} + {% if layerbranch.vcs_subdir %} <h4>Subdirectory</h4> - <p><span data-toggle="tooltip" title="Select subdirectory"><i class="icon-circle-arrow-right selectallicon" for="vcs_subdir" id="vcs_subdir_select"></i></span><span id="vcs_subdir" class="copyable">{{ layeritem.vcs_subdir }}</span> + <p><span data-toggle="tooltip" title="Select subdirectory"><i class="icon-circle-arrow-right selectallicon" for="vcs_subdir" id="vcs_subdir_select"></i></span><span id="vcs_subdir" class="copyable">{{ layerbranch.vcs_subdir }}</span> {% if layerbranch.tree_url %} <span class="label label-info"> <a href="{{ layerbranch.tree_url }}">web subdirectory</a> diff --git a/templates/layerindex/reviewdetail.html b/templates/layerindex/reviewdetail.html index 933ed1e800..7a4cd4d3bc 100644 --- a/templates/layerindex/reviewdetail.html +++ b/templates/layerindex/reviewdetail.html @@ -100,7 +100,7 @@ </tr> <tr> <th>Repository subdirectory</th> - <td>{{ layeritem.vcs_subdir }}</td> + <td>{{ layerbranch.vcs_subdir }}</td> </tr> <tr> <th>Repo web interface</th> |