mirror of
https://github.com/internetee/registry.git
synced 2025-08-12 04:29:33 +02:00
Registrar layout flash works with epp now
This commit is contained in:
parent
9ebc809c66
commit
0623b16bdb
1 changed files with 8 additions and 9 deletions
|
@ -44,12 +44,11 @@
|
|||
%li= link_to t('log_out', user: current_user), '/registrar/logout'
|
||||
|
||||
/ /.nav-collapse
|
||||
/ = yield :tabs
|
||||
/ .container
|
||||
/ = render 'depp/shared/flash'
|
||||
/ = render 'depp/shared/epp_results'
|
||||
/ = yield
|
||||
.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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue