Merge 514a88e0be into a4ef10cf1b
This commit is contained in:
commit
f1e37df5a0
21 changed files with 264 additions and 3 deletions
|
|
@ -139,3 +139,9 @@
|
|||
= link_to(admin_conference_roles_path(@conference.short_title)) do
|
||||
%span.fa.fa-group
|
||||
Roles
|
||||
|
||||
- if can? :show, @conference
|
||||
%li{:class=> active_nav_li(conference_info_admin_conference_path(@conference.short_title))}
|
||||
= link_to(conference_info_admin_conference_path(@conference.short_title)) do
|
||||
%span.fa.fa-expand
|
||||
Conference Info
|
||||
|
|
|
|||
25
app/views/layouts/conference_info.html.haml
Normal file
25
app/views/layouts/conference_info.html.haml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
%html{:xmlns => "http://www.w3.org/1999/html"}
|
||||
%head
|
||||
%meta{:charset => "utf-8"}
|
||||
%meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
|
||||
%title= content_for?(:title) ? yield(:title) : (ENV['OSEM_NAME'] || 'OSEM')
|
||||
%meta{:content => "", :name => "description"}
|
||||
%meta{:content => "", :name => "author"}
|
||||
= stylesheet_link_tag "application", :media => "all"
|
||||
= javascript_include_tag "application"
|
||||
|
||||
= csrf_meta_tags
|
||||
:javascript
|
||||
window.liveSettings = {
|
||||
api_key: "#{ENV['OSEM_TRANSIFEX_APIKEY']}",
|
||||
picker: "bottom-right",
|
||||
detectlang: true,
|
||||
autocollect: true
|
||||
};
|
||||
= content_for(:script_head)
|
||||
= javascript_include_tag "//cdn.transifex.com/live.js"
|
||||
|
||||
= yield(:head)
|
||||
%body
|
||||
.container
|
||||
= yield
|
||||
Loading…
Add table
Add a link
Reference in a new issue