added description hover to scopes

pull/576/head
Justin Richer 11 years ago
parent c9bea0f180
commit 9d981d034e

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

Loading…
Cancel
Save