Initial implementation of the dependency injector thingy.
This commit is contained in:
parent
d462ee0594
commit
9e5945cbd4
3 changed files with 62 additions and 130 deletions
|
@ -59,7 +59,7 @@
|
|||
<label class="form__label">
|
||||
<div class="form__label__text">Inherit Colour</div>
|
||||
<div class="form__label__input">
|
||||
{{ input_checkbox('ur_col_inherit', '', role_ur_col_inherit is defined ? role_ur_col_inherit : (role_info is not null and role_info.hasColour ? role_info.colour.shouldInherit : true)) }}
|
||||
{{ input_checkbox('ur_col_inherit', '', role_ur_col_inherit is defined ? role_ur_col_inherit : (role_info is not null and role_info.hasColour ? role_info.colour.inherits : true)) }}
|
||||
</div>
|
||||
</label>
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
<label class="form__label">
|
||||
<div class="form__label__text">Custom Colour</div>
|
||||
<div class="form__label__input">
|
||||
{{ input_checkbox('colour[enable]', '', not user_info.colour.shouldInherit, '', '', false, null, not can_edit_user) }}
|
||||
{{ input_checkbox('colour[enable]', '', not user_info.colour.inherits, '', '', false, null, not can_edit_user) }}
|
||||
</div>
|
||||
</label>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue