2012-09-06 19:42:11 +09:00
|
|
|
<template name="settings">
|
2012-11-13 19:53:29 +01:00
|
|
|
{{#if isAdmin true}}
|
|
|
|
<div class="grid-small grid-block dialog settings">
|
|
|
|
{{#with setting}}
|
2012-11-13 13:14:50 +01:00
|
|
|
|
2012-11-13 19:53:29 +01:00
|
|
|
<h2>Settings</h2>
|
2012-11-13 13:14:50 +01:00
|
|
|
|
2012-11-18 08:46:50 +09:00
|
|
|
{{#if noSettings}}
|
2012-11-13 19:53:29 +01:00
|
|
|
<p>No settings yet.</p>
|
|
|
|
{{/if}}
|
2012-11-13 13:14:50 +01:00
|
|
|
|
2012-11-13 19:53:29 +01:00
|
|
|
{{#if currentUser.isAdmin}}
|
|
|
|
<form id="json-form"></form>
|
2012-11-18 08:46:50 +09:00
|
|
|
{{generateSettingsForm setting}}
|
2012-11-13 19:53:29 +01:00
|
|
|
{{/if}}
|
2012-11-13 13:14:50 +01:00
|
|
|
|
2012-11-13 19:53:29 +01:00
|
|
|
{{/with}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2012-09-06 19:42:11 +09:00
|
|
|
</template>
|