mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
add args to user preference plugin outlets
This commit is contained in:
parent
bd77795d7a
commit
03586066ab
@ -24,4 +24,4 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{plugin-outlet name="user-preferences-apps"}}
|
||||
{{plugin-outlet name="user-preferences-apps" args=(hash model=model save=(action "save"))}}
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
{{plugin-outlet name="user-preferences-categories"}}
|
||||
{{plugin-outlet name="user-preferences-categories" args=(hash model=model save=(action "save"))}}
|
||||
|
||||
<br/>
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
||||
{{plugin-outlet name="user-preferences-emails"}}
|
||||
{{plugin-outlet name="user-preferences-emails" args=(hash model=model save=(action "save"))}}
|
||||
|
||||
<br/>
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{plugin-outlet name="user-preferences-interface"}}
|
||||
{{plugin-outlet name="user-preferences-interface" args=(hash model=model save=(action "save"))}}
|
||||
|
||||
<br/>
|
||||
|
||||
|
@ -47,7 +47,7 @@
|
||||
<div class="instructions">{{i18n 'user.muted_users_instructions'}}</div>
|
||||
</div>
|
||||
|
||||
{{plugin-outlet name="user-preferences-notifications"}}
|
||||
{{plugin-outlet name="user-preferences-notifications" args=(hash model=model save=(action "save"))}}
|
||||
|
||||
<br/>
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{plugin-outlet name="user-preferences-profile"}}
|
||||
{{plugin-outlet name="user-preferences-profile" args=(hash model=model save=(action "save"))}}
|
||||
|
||||
{{plugin-outlet name="user-custom-preferences" args=(hash model=model)}}
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
{{plugin-outlet name="user-preferences-tags"}}
|
||||
{{plugin-outlet name="user-preferences-tags" args=(hash model=model save=(action "save"))}}
|
||||
|
||||
<br/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user