Add a very basic custom_css property to a conference.
It is loaded on all pages for that conference.
This commit is contained in:
parent
a1775674ce
commit
4c29d57aae
5 changed files with 18 additions and 3 deletions
|
|
@ -21,6 +21,10 @@
|
|||
= javascript_include_tag "//cdn.transifex.com/live.js"
|
||||
|
||||
= yield(:head)
|
||||
- if @conference && @conference.custom_css?
|
||||
%style{type: 'text/css'}
|
||||
= @conference.custom_css
|
||||
|
||||
%body{ class: ("conference-#{@conference.short_title}" if @conference) }
|
||||
= render 'layouts/navigation', conference: @conference
|
||||
-# Admin area
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue