Bunch of minor bugfixes

This commit is contained in:
Will Marshall
2014-06-24 13:01:51 +10:00
parent 9099fca11c
commit f7ba8cade0
8 changed files with 19 additions and 12 deletions

View File

@@ -1,2 +1,3 @@
Darkswarm.controller "ProducersTabCtrl", ($scope, CurrentHub) ->
Darkswarm.controller "ProducersTabCtrl", ($scope, CurrentHub, Enterprises) ->
# Injecting Enterprises so CurrentHub.producers is dereferenced
$scope.CurrentHub = CurrentHub

View File

@@ -5,8 +5,9 @@
{{ enterprise.phone }}
%p{"ng-if" => "enterprise.email"}
%a{"ng-href" => "mailto:{{enterprise.email | stripUrl}}", target: "_blank" }
{{ enterprise.email | stripUrl }}
%a{"ng-href" => "{{enterprise.email | stripUrl}}", target: "_blank", mailto: true}
%span.email
{{ enterprise.email | stripUrl }}
%p{"ng-if" => "enterprise.website"}
%a{"ng-href" => "http://{{enterprise.website | stripUrl}}", target: "_blank" }