Changeset - 3d2465eff823
[Not reviewed]
default
0 1 0
Branko Majic (branko) - 11 years ago 2013-07-13 20:34:10
branko@majic.rs
CONNT-4: Added buttons for adding new entities to specific location in a project.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
conntrackt/templates/conntrackt/location_widget.html
Show inline comments
 
@@ -4,5 +4,8 @@
 
{% for entity in entities %}
 
    <tr><td>{% html_link entity.name 'entity' entity.id class="btn btn-link" %}</td><td>{% html_link '<i class="icon-list"></i>' 'entity_iptables' entity.id class="btn btn-link" %}</td></tr>
 
{% endfor %}
 
    {% with project_id=project.id|slugify location_id=location.id|slugify %}
 
    <tr><td>{% html_link "Add entity" "entity_create" class="btn btn-primary btn-mini" get="project="|add:project_id|add:"&location="|add:location_id %}</td><td></td></tr>
 
    {% endwith %}
 
  </table>
 

	
0 comments (0 inline, 0 general)