Removed a duplicate enable_notifications rendering in the user object ERB tempalte.
This commit is contained in:
parent
a1657b2d6d
commit
c70857e802
1 changed files with 3 additions and 6 deletions
|
@ -17,16 +17,16 @@ object User "<%= @object_username %>" {
|
||||||
import "<%= @template_to_import -%>"
|
import "<%= @template_to_import -%>"
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if @display_name -%>
|
<%- if @display_name -%>
|
||||||
display_name "<%= @display_name -%>"
|
display_name = "<%= @display_name -%>"
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if @email -%>
|
<%- if @email -%>
|
||||||
email "<%= @email -%>"
|
email = "<%= @email -%>"
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if @pager -%>
|
<%- if @pager -%>
|
||||||
pager "<%= @pager -%>"
|
pager "<%= @pager -%>"
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if @enable_notifications -%>
|
<%- if @enable_notifications -%>
|
||||||
enable_notifications = "<%= @enable_notifications -%>"
|
enable_notifications = <%= @enable_notifications -%>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if @vars.empty? != true -%>
|
<%- if @vars.empty? != true -%>
|
||||||
<%- @vars.each_pair do |key, value| -%>
|
<%- @vars.each_pair do |key, value| -%>
|
||||||
|
@ -36,9 +36,6 @@ object User "<%= @object_username %>" {
|
||||||
<%- if @groups.length != 0 -%>
|
<%- if @groups.length != 0 -%>
|
||||||
groups = [ <%- @groups.each do |group| -%> "<%= group %>", <%- end -%>]
|
groups = [ <%- @groups.each do |group| -%> "<%= group %>", <%- end -%>]
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if @enable_notifications -%>
|
|
||||||
enable_notifications = <%= @enable_notifications -%>
|
|
||||||
<%- end -%>
|
|
||||||
<%- if @period -%>
|
<%- if @period -%>
|
||||||
period = "<%= @period -%>"
|
period = "<%= @period -%>"
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
|
Loading…
Reference in a new issue