Skip to content

Commit

Permalink
Merge branch 'GUI' of http://git.vst.lan/cloud/polemarch into developer
Browse files Browse the repository at this point in the history
  • Loading branch information
cepreu2github committed Aug 3, 2017
2 parents be5b3a6 + 6305108 commit 13ddfab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polemarch/main/templates/gui/gui.html
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ <h1>
<option <% if(!pmTasksTemplates.model.items[item_id].data.project){ %> selected <% } %> value="0" >Not set</option>
<% for(var i in pmProjects.model.itemslist.results){ %>
<option
<% if(pmTasksTemplates.model.itemslist.results[item_id].data.project == pmProjects.model.items[i].id){ %> selected <% } %>
<% if(pmTasksTemplates.model.items[item_id].data.project == pmProjects.model.itemslist.results[i].id){ %> selected <% } %>
value="<%- pmProjects.model.itemslist.results[i].id %>"
><%- pmProjects.model.itemslist.results[i].name %></option>
<% } %>
Expand All @@ -439,7 +439,7 @@ <h1>
<option <% if(!pmTasksTemplates.model.items[item_id].data.inventory){ %> selected <% } %> value="0" >Not set</option>
<% for(var i in pmInventories.model.itemslist.results){ %>
<option
<% if(pmTasksTemplates.model.items[item_id].data.inventory == pmInventories.model.items[i].id){ %> selected <% } %>
<% if(pmTasksTemplates.model.items[item_id].data.inventory == pmInventories.model.itemslist.results[i].id){ %> selected <% } %>
value="<%- pmInventories.model.itemslist.results[i].id %>"
><%- pmInventories.model.itemslist.results[i].name %></option>
<% } %>
Expand Down

0 comments on commit 13ddfab

Please sign in to comment.