add tests for organization name in conference views

remove tests for organization name in conference#edit
This commit is contained in:
shlok007 2017-07-25 08:16:44 +05:30 committed by Shlok Srivastava
parent cdc08052b1
commit 17eacaec0d
4 changed files with 8 additions and 8 deletions

View file

@ -7,10 +7,10 @@
%span.icon-bar
%span.icon-bar
%span.icon-bar
- if @conference.nil? || @conference.new_record?
- if conference.nil? || conference.new_record?
= link_to (ENV['OSEM_NAME'] || 'OSEM'), root_path, class: 'navbar-brand', title: 'Open Source Event Manager'
- else
= link_to (ENV['OSEM_NAME'] || "#{@conference.organization.name} Organization"), organizations_path, class: 'navbar-brand', title: 'Open Source Event Manager'
= link_to (ENV['OSEM_NAME'] || "#{conference.organization.name} Organization"), organizations_path, class: 'navbar-brand', title: 'Open Source Event Manager'
.collapse.navbar-collapse
- if content_for :splash_nav
%ul.nav.navbar-nav#splash-nav