 
 
                 if v.icon
-                  SPAN 
-                    style: 
-                      paddingRight: 12
-                    v.icon if activated_weights[k] then 'white'
-
-                v.name
+                  v.icon if activated_weights[k] then 'white'
+
+                SPAN 
+                  style: 
+                    paddingLeft: if v.icon then 10
+
+                  v.name
 
               HelpIcon v.label,
                 width: 18

            SPAN 
              className: 'opinion_view_name'
              style: 
                paddingRight: 8

              "Group opinions by: "  

            SELECT 
              style: 
                maxWidth: '100%'
                marginRight: 12
              onChange: (ev) -> 
                if ev.target.value != null
                  attribute = attributes[ev.target.value]

      user = fetch(u)
      user.key == fetch('/current_user').user

  by_date: 
    key: 'date'
    name: 'By date'
    pass: (u) ->
      true
    options: ['Today', 'Past week', 'Custom']


window.influence_network = {}
