Sha256: 1d257d9ba216f3326e9762f2141e81ae05e79209a88bb32efea0d18587eecdca
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
%h1 - if @item.sequence? = link_to @item.sequence do %span.resource-name= friendly_name @item.sequence » %span.resource-name= friendly_name @item - unless @item.locked? = link_to({action: "toggle", id: @item}, :remote => true, :class => "link link-sm dispatch-state", :confirm => @item.enabled? ? t(".disable_confirm") : t(".enable_confirm"), :method => :post) do = display_dispatch_state @item = link_to({action: "edit", id: @item}, :remote => true, :class => "link link-sm") do = icon(:pencil) = tw("commons.edit") - else %a.link.link-sm.text-warning{:data => {:toggle => "tooltip", :placement => "top"}, :title => tw("dispatches.locked_info")} = icon(:lock) = tw("commons.locked") - if @item.enabled? && @item.one_time? = link_to({action: "deliver", id: @item}, :method => :post, :remote => true, :data => {:confirm => tw("one_time_mailings.header.confirm_run")}, :class => "link link-sm") do = icon(:send) = tw("commons.run") - unless @item.locked? || @item.archived? = link_to({action: "destroy", id: @item}, :method => :delete, :remote => true, :data => {:confirm => t(".confirm_archive")}, :class => "link link-sm") do = icon(:archive) = tw("commons.archive")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
maily_herald-webui-0.8.0 | app/views/maily_herald/webui/mailings/_header.html.haml |