mirror of
https://github.com/openSUSE/osem.git
synced 2026-05-19 14:11:52 -04:00
display organization name in menu bar
This commit is contained in:
committed by
Shlok Srivastava
parent
540c982771
commit
cdc08052b1
@@ -9,7 +9,6 @@
|
||||
= semantic_form_for(@conference, url: admin_conference_path(@conference.short_title), html: {multipart: true}) do |f|
|
||||
= f.input :title, hint: "The full title of the conference, e.g. 'openSUSE Conference 2014'"
|
||||
= f.input :short_title, hint: "A short title, e.g. 'oSC14', to be used in URLs"
|
||||
= f.input :organization, hint: 'The organization in which this conference belongs', input_html: { disabled: true }
|
||||
= f.input :description, hint: markdown_hint('A description of the conference.'), input_html: { rows: 5, data: { provide: 'markdown-editable' } }
|
||||
= f.input :color, hint: 'The color will be used eg for the dashboard.', input_html: {size: 6, type: 'color'}
|
||||
= f.label 'Conference Logo'
|
||||
|
||||
@@ -22,9 +22,6 @@
|
||||
.col-md-8
|
||||
%h1
|
||||
= @conference.title
|
||||
%h3
|
||||
%i
|
||||
= "( by #{@conference.organization.name} )"
|
||||
%p.lead
|
||||
- if @conference.venue
|
||||
= "#{@conference.venue.city} / #{@conference.venue.country_name}"
|
||||
|
||||
@@ -7,7 +7,10 @@
|
||||
%span.icon-bar
|
||||
%span.icon-bar
|
||||
%span.icon-bar
|
||||
= link_to (ENV['OSEM_NAME'] || 'OSEM'), root_path, class: 'navbar-brand', title: 'Open Source Event Manager'
|
||||
- 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'
|
||||
.collapse.navbar-collapse
|
||||
- if content_for :splash_nav
|
||||
%ul.nav.navbar-nav#splash-nav
|
||||
|
||||
Reference in New Issue
Block a user