Commit 3927770c authored by Gergely Ujvari's avatar Gergely Ujvari

Change template field name to type

parent 15c8b15d
......@@ -2,8 +2,8 @@ class AccountController
@inject = ['$scope', '$filter', 'flash', 'session', 'identity', 'formHelpers']
constructor: ($scope, $filter, flash, session, identity, formHelpers) ->
persona_filter = $filter('persona')
$scope.subscription_description =
'reply template': 'Receive notification emails when: - Someone replies to one of my annotations'
$scope.subscriptionDescription =
reply: 'Receive notification emails when: - Someone replies to one of my annotations'
onSuccess = (form, response) ->
# Fire flash messages.
......
......@@ -78,7 +78,7 @@
<div class="form-field form-checkbox-list">
<div class="form-checkbox-item" ng-repeat="subscription in subscriptions">
<input id="checkbox-{{$index}}" type="checkbox" ng-model="subscription.active" ng-change="updated($index, notificationsForm)" />
<label class="form-label" for="checkbox-{{$index}}">{{subscription_description[subscription.template]}}</label>
<label class="form-label" for="checkbox-{{$index}}">{{subscriptionDescription[subscription.type]}}</label>
</div>
</div>
</form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment