2013-04-19 11:06:00 +08:00
|
|
|
<!-- work in progress, please ignore -->
|
2013-04-17 15:08:21 +08:00
|
|
|
<div class='row'>
|
|
|
|
<div class='content-list span6'>
|
|
|
|
<h3>{{i18n admin.groups.edit}}</h3>
|
|
|
|
<ul>
|
|
|
|
{{#each group in controller}}
|
|
|
|
<li>
|
|
|
|
<a href="#" {{action "edit" group}} {{bindAttr class="group.active"}}>{{group.name}}</a>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='content-editor'>
|
|
|
|
{{#if content.active}}
|
|
|
|
{{#with content.active}}
|
2013-04-19 11:06:00 +08:00
|
|
|
<h3>{{name}}</h3>
|
2013-04-17 15:08:21 +08:00
|
|
|
{{view Discourse.UserSelector id="private-message-users" class="span8" placeholderKey="admin.groups.selector_placeholder" tabindex="1" usernamesBinding="usernames"}}
|
2013-04-19 11:06:00 +08:00
|
|
|
<button>Save</button>
|
|
|
|
|
2013-04-17 15:08:21 +08:00
|
|
|
{{/with}}
|
|
|
|
{{else}}
|
|
|
|
nothing here yet
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|