aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-03-19 22:35:46 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-03-20 15:41:58 +0000
commit0a1215e59e926318691f861943fff9c499d375cb (patch)
treeb4f935c2e6e3ac394098e0896827f4939df07843 /templates
parentee9176a8c5af51d61f999181006faaf76d578faa (diff)
downloadopenembedded-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.html4
-rw-r--r--templates/layerindex/reviewdetail.html2
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>
='n247' href='#n247'>247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305