From 5035a28de1a56e69628f5e712cbb6febdd9ddaaa Mon Sep 17 00:00:00 2001
From: Kálmán Viktor <kviktor@cloud.bme.hu>
Date: Mon, 1 Sep 2014 11:16:10 +0200
Subject: [PATCH] dashboard: start new vm from template list

---
 circle/dashboard/templates/dashboard/template-list/column-template-actions.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/circle/dashboard/templates/dashboard/template-list/column-template-actions.html b/circle/dashboard/templates/dashboard/template-list/column-template-actions.html
index 8198e85..9867f2b 100644
--- a/circle/dashboard/templates/dashboard/template-list/column-template-actions.html
+++ b/circle/dashboard/templates/dashboard/template-list/column-template-actions.html
@@ -1,4 +1,8 @@
 {% load i18n %}
+<a href="{% url "dashboard.views.vm-create" %}?template={{ record.pk }}"
+  class="btn btn-success btn-xs customize-vm" title="{% trans "Start" %}">
+  <i class="fa fa-play"></i>
+</a>
 <a href="{% url "dashboard.views.template-detail" pk=record.pk%}" id="template-list-edit-button" class="btn btn-default btn-xs" title="{% trans "Edit" %}">
   <i class="fa fa-edit"></i>
 </a>
--
libgit2 0.26.0