mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
registrar flash cleanup
This commit is contained in:
parent
ec4c06bb06
commit
eeec5705d9
3 changed files with 13 additions and 8 deletions
|
@ -56,14 +56,10 @@
|
|||
|
||||
/ /.nav-collapse
|
||||
.container
|
||||
-# - if params[:controller].start_with?('depp/')
|
||||
-# = render 'depp/shared/flash'
|
||||
-# = render 'depp/shared/epp_results'
|
||||
-# - else
|
||||
- display = (flash.empty?) ? 'none' : 'block'
|
||||
#flash{style: "display: #{display};"}
|
||||
- type = (flash[:notice]) ? 'bg-success' : 'bg-danger'
|
||||
.alert{class: type}= flash[:notice] || flash[:alert]
|
||||
= render 'registrar/shared/flash'
|
||||
- if depp_controller?
|
||||
= render 'registrar/shared/epp_results'
|
||||
|
||||
= yield
|
||||
|
||||
.footer.text-right
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue