Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
3927770c
Commit
3927770c
authored
Nov 04, 2014
by
Gergely Ujvari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change template field name to type
parent
15c8b15d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
account-controller.coffee
h/static/scripts/auth/account-controller.coffee
+2
-2
account.html
h/templates/client/account.html
+1
-1
No files found.
h/static/scripts/auth/account-controller.coffee
View file @
3927770c
...
...
@@ -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
_d
escription
=
'reply template'
:
'Receive notification emails when: - Someone replies to one of my annotations'
$scope
.
subscription
D
escription
=
reply
:
'Receive notification emails when: - Someone replies to one of my annotations'
onSuccess
=
(
form
,
response
)
->
# Fire flash messages.
...
...
h/templates/client/account.html
View file @
3927770c
...
...
@@ -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.templat
e]}}
</label>
<label
class=
"form-label"
for=
"checkbox-{{$index}}"
>
{{subscription
Description[subscription.typ
e]}}
</label>
</div>
</div>
</form>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment