Making a js change to remove hub name from shipping method label

This commit is contained in:
summerscope
2014-06-19 16:31:11 +10:00
parent 238c783e77
commit 591441b968

View File

@@ -2,7 +2,7 @@ Darkswarm.directive "activeTableHubLink", (CurrentHub, CurrentOrder) ->
restrict: "A"
scope:
hub: '=activeTableHubLink'
template: "{{action}} <strong>{{hub.name}}</strong>"
template: "{{action}}"
link: (scope, elm, attr)->
# Swap out the text of the hub link depending on whether it'll change current hub
# To be used with ofnEmptiesCart