diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/newproject.html | 4 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/project.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/newproject.html b/bitbake/lib/toaster/toastergui/templates/newproject.html index 6ee27d12d2..12c4e9f07f 100644 --- a/bitbake/lib/toaster/toastergui/templates/newproject.html +++ b/bitbake/lib/toaster/toastergui/templates/newproject.html | |||
@@ -28,8 +28,8 @@ | |||
28 | <i class="icon-question-sign get-help" title="This sets the branch for the Yocto Project core layers (meta, meta-yocto and meta-yocto-bsp), and for the layers you use from the OpenEmbedded Metadata Index"></i> | 28 | <i class="icon-question-sign get-help" title="This sets the branch for the Yocto Project core layers (meta, meta-yocto and meta-yocto-bsp), and for the layers you use from the OpenEmbedded Metadata Index"></i> |
29 | </label> | 29 | </label> |
30 | <select name="projectversion" id="projectversion"> | 30 | <select name="projectversion" id="projectversion"> |
31 | {% for br in branches %} | 31 | {% for release in releases %} |
32 | <option value="{{br.id}}"{%if projectversion == br.id %} selected{%endif%}>{{br.name}} ({{br.short_description}})</option> | 32 | <option value="{{release.id}}"{%if projectversion == release.id %} selected{%endif%}>{{release.name}} ({{release.description}})</option> |
33 | {% endfor %} | 33 | {% endfor %} |
34 | </select> | 34 | </select> |
35 | </fieldset> | 35 | </fieldset> |
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index 0ddfeb31ae..3c59fcf2ac 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html | |||
@@ -269,7 +269,7 @@ $(document).ready(function () { | |||
269 | <ul class="unstyled configuration-list"> | 269 | <ul class="unstyled configuration-list"> |
270 | {% for pl in project.projectlayer_set.all %} | 270 | {% for pl in project.projectlayer_set.all %} |
271 | <li> | 271 | <li> |
272 | <a href="#">{{pl.name}} (<span class="layer-version">{{pl.giturl}}</span>)</a> | 272 | <a href="#">{{pl.layercommit.layer.name}} (<span class="layer-version">{{pl.layercommit.layer.layer_index_url}}</span>)</a> |
273 | {% if pl.optional %} | 273 | {% if pl.optional %} |
274 | <i title="" data-original-title="" class="icon-trash" id="del-layer-icon" x-data="{{pl.pk}}"></i> | 274 | <i title="" data-original-title="" class="icon-trash" id="del-layer-icon" x-data="{{pl.pk}}"></i> |
275 | {% endif %} | 275 | {% endif %} |
@@ -358,7 +358,7 @@ $(document).ready(function () { | |||
358 | </p> | 358 | </p> |
359 | <h3>Yocto Project version</h3> | 359 | <h3>Yocto Project version</h3> |
360 | <p class="lead"> | 360 | <p class="lead"> |
361 | {{project.branch}} - {{project.short_description}} | 361 | {{project.release}} - {{project.short_description}} |
362 | <i title="" data-original-title="" class="icon-pencil"></i> | 362 | <i title="" data-original-title="" class="icon-pencil"></i> |
363 | </p> | 363 | </p> |
364 | </div> | 364 | </div> |