added icon to template, popover doesn't work yet

pull/263/head
Justin Richer 2012-11-15 17:41:00 -05:00
parent 9064b49a54
commit 8ecdb8a4ab
2 changed files with 9 additions and 0 deletions

View File

@ -302,6 +302,8 @@
}
this.model.bind('change', this.render, this);
this.$('.dynamically-registered').popover({title: 'Dynamic', content: 'This client was dynamically registered'});
},
render:function (eventName) {

View File

@ -1,6 +1,12 @@
<!-- client -->
<script type="text/html" id="tmpl-client">
<td>
<% if (dynamicallyRegistered) { %>
<span class="dynamically-registered"><i class="icon-cog"></i></span>
<% } %>
</td>
<td>
<%=clientId%>
<blockquote><small><%=clientDescription%></small></blockquote>
@ -26,6 +32,7 @@
<table id="client-table" class="table">
<thead>
<tr>
<th></th>
<th>Client ID</th>
<th>Application Name</th>
<th></th>