added description hover to scopes

pull/576/head
Justin Richer 2014-03-01 10:31:36 +00:00
parent c9bea0f180
commit 9d981d034e
1 changed files with 7 additions and 7 deletions

View File

@ -192,14 +192,14 @@
_.each(scopes, function(s) { _.each(scopes, function(s) {
var ss = systemScopes.getByValue(s); var ss = systemScopes.getByValue(s);
%> %>
<span class="badge<%= (ss) ? ' badge-info' : '' %>"> <span class="badge<%= (ss) ? ' badge-info' : '' %>"
<% <% if (ss && ss.get('description')) { %>
if (ss && ss.get('icon')) { title="<%= ss.get('description') %>"
%> <% } %>
>
<% if (ss && ss.get('icon')) { %>
<i class="icon-<%=ss.get('icon')%> icon-white"></i> <i class="icon-<%=ss.get('icon')%> icon-white"></i>
<% <% } %>
}
%>
<%=s%> <%=s%>
</span> </span>
<% <%