Merge branch 'master' into fix-build
* master: Replace more Commercials with Materials Rename more commericals to materials UI -- Repalce "Commerials" with "Materials".
This commit is contained in:
commit
daba37a116
23 changed files with 69 additions and 69 deletions
|
|
@ -1,11 +1,11 @@
|
|||
.row
|
||||
.col-md-12
|
||||
.page-header
|
||||
%h1 Commercials
|
||||
%h1 Session Materials
|
||||
%p.text-muted
|
||||
Conference commercials will be displayed on the events in the
|
||||
Conference materials will be displayed on the events in the
|
||||
= link_to 'schedule,', conference_schedule_path(@conference.short_title)
|
||||
if the event speaker didn't add an event commercial.
|
||||
if the event speaker didn't add any event materials.
|
||||
- if can? :create, @conference.commercials.new
|
||||
.row
|
||||
.col-md-6
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@
|
|||
= "(#{@events.length})" if @events.any?
|
||||
|
||||
.btn-group.pull-right
|
||||
%button.btn.btn-primary{ title: 'Mass import of commercials for events',
|
||||
%button.btn.btn-primary{ title: 'Mass import of materials for events',
|
||||
data: { toggle: 'modal', target: '#mass-commercials-modal' } }
|
||||
Add Commercials
|
||||
Add Materials
|
||||
|
||||
- if can? :create, Event
|
||||
= link_to 'Add Event',
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
.modal-dialog
|
||||
.modal-content
|
||||
.modal-header
|
||||
%h1 Add commercials to events
|
||||
%h1 Add materials to events
|
||||
.text-muted
|
||||
Upload your file with data in the following format:
|
||||
%b Event_ID:Commercial_Link
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
- progress_status = @event.progress_status
|
||||
= progress_status.reject{ |_key, value| value || value.nil? }.length
|
||||
%li
|
||||
= link_to 'Commercials', '#proposal-commercials', 'data-toggle' => 'tab'
|
||||
= link_to 'Materials', '#proposal-commercials', 'data-toggle' => 'tab'
|
||||
|
||||
.tab-content
|
||||
#proposal-content.tab-pane.active
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
- else
|
||||
= general_change_description(version)
|
||||
= link_to 'commercial',
|
||||
= link_to 'materials',
|
||||
edit_admin_conference_program_event_path(conference_id: @conference.short_title,
|
||||
id: @event.id, anchor: 'commercials-content')
|
||||
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
%td{ 'class' => class_for_todo(progress_status['subtitle']) }
|
||||
%span{ 'class' => [icon_for_todo(progress_status['subtitle']), 'fa-lg'] }
|
||||
%tr
|
||||
%td= link_to 'Add a commercial', edit_admin_conference_program_event_path(@event.program.conference.short_title, @event, anchor: 'commercials-content')
|
||||
%td= link_to 'Add materials', edit_admin_conference_program_event_path(@event.program.conference.short_title, @event, anchor: 'commercials-content')
|
||||
%td{ 'class' => class_for_todo(progress_status['commercials']) }
|
||||
%span{ 'class' => [icon_for_todo(progress_status['commercials']), 'fa-lg'] }
|
||||
- unless progress_status['track'].nil?
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
%th Title
|
||||
%th Speakers Registered
|
||||
%th Speakers Biographies
|
||||
%th Commercial
|
||||
%th Materials
|
||||
%th Subtitle
|
||||
%th Difficulty Level
|
||||
- if @program.tracks.any?
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
.col-md-12
|
||||
.page-header
|
||||
%h1
|
||||
Events without commercials
|
||||
Events Without Materials
|
||||
= "(#{@events_missing_commercial.length})"
|
||||
%p.text-muted
|
||||
All submissions that have no commercial
|
||||
All submissions that have no materials
|
||||
.col-md-12
|
||||
%table.datatable
|
||||
%thead
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
= link_to 'All Events', '#all', 'data-toggle' => 'tab'
|
||||
%li
|
||||
%a{href: '#missing-commercial', 'data-toggle' => 'tab'}
|
||||
Events without Commercials
|
||||
Events without Materials
|
||||
%span.label.label-danger{style: 'border-radius: 1em;'}
|
||||
= @events_missing_commercial.length
|
||||
%li
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
%li.active
|
||||
= link_to 'Details', '#details-content', 'data-toggle' => 'tab'
|
||||
%li
|
||||
= link_to 'Commercials', '#commercials-content', 'data-toggle' => 'tab'
|
||||
= link_to 'Materials', '#commercials-content', 'data-toggle' => 'tab'
|
||||
|
||||
.tab-content
|
||||
#details-content.tab-pane.active
|
||||
|
|
@ -56,4 +56,4 @@
|
|||
%hr
|
||||
|
||||
- else
|
||||
First Create Venue, then update commercial
|
||||
First Create Venue, then update materials
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
-else
|
||||
- if @venue.commercial.nil?
|
||||
.row
|
||||
%img{ "data-src" => "holder.js/500x300?text=No Commercial Set", class: 'img-responsive img-rounded' }
|
||||
%img{ "data-src" => "holder.js/500x300?text=No Materials Set", class: 'img-responsive img-rounded' }
|
||||
- else
|
||||
- if @venue.commercial.persisted?
|
||||
.thumbnail
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
.row
|
||||
.col-md-12
|
||||
.page-header
|
||||
%h1 Editing Commercial
|
||||
%h1 Edit Materials
|
||||
.row
|
||||
.col-md-12
|
||||
= semantic_form_for @commercial, url: conference_program_proposal_commercial_path(conference_id: @conference.short_title, proposal_id: @event.id, id: @commercial.id) do |f|
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
.row
|
||||
.col-md-12
|
||||
.page-header
|
||||
%h1 New Commercial
|
||||
%h1 New Materials
|
||||
.row
|
||||
.col-md-12
|
||||
= semantic_form_for @commercial, url: conference_program_proposal_commercials_path(conference_id: @conference.short_title, proposal_id: @event.id) do |f|
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
= link_to 'Contact', edit_admin_conference_contact_path(@conference.short_title)
|
||||
- if can? :index, @conference.commercials.build
|
||||
%li{class: "#{active_nav_li(admin_conference_commercials_path(@conference.short_title))}"}
|
||||
= link_to 'Commercials', admin_conference_commercials_path(@conference.short_title)
|
||||
= link_to 'Materials', admin_conference_commercials_path(@conference.short_title)
|
||||
- if can? :update, @conference
|
||||
%li{class: active_nav_li(edit_admin_conference_splashpage_path(@conference.short_title))}
|
||||
= link_to 'Splashpage', admin_conference_splashpage_path(@conference.short_title)
|
||||
|
|
|
|||
|
|
@ -3,15 +3,15 @@
|
|||
%li.active
|
||||
= link_to 'Proposal', '#proposal-content', 'data-toggle' => 'tab'
|
||||
%li
|
||||
= link_to 'Commercials', '#commercials-content', 'data-toggle' => 'tab'
|
||||
= link_to 'Materials', '#commercials-content', 'data-toggle' => 'tab'
|
||||
.tab-content
|
||||
#proposal-content.tab-pane.active
|
||||
= render 'proposals/proposal_form'
|
||||
#commercials-content.tab-pane
|
||||
%p.text-muted
|
||||
You can add commercials for your proposal. These commercials will be displayed on the
|
||||
You can add materals for your proposal. These materials will be displayed on the
|
||||
= link_to 'public proposal page.', conference_program_proposal_path(@conference.short_title, @event)
|
||||
If you don't add a commercial, the conference commercial will be displayed!
|
||||
If you don't add any materials, the conference materials will be displayed.
|
||||
- if can? :create, @event.commercials.new
|
||||
.row
|
||||
.col-md-6
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
= link_to 'Add a subtitle', edit_conference_program_proposal_path(event.program.conference.short_title, event)
|
||||
%li{'class'=>class_for_todo(progress_status['commercials'])}
|
||||
%span{'class'=>icon_for_todo(progress_status['commercials'])}
|
||||
= link_to 'Add a commercial', edit_conference_program_proposal_path(event.program.conference.short_title, event, anchor: 'commercials-content')
|
||||
= link_to 'Add materials', edit_conference_program_proposal_path(event.program.conference.short_title, event, anchor: 'commercials-content')
|
||||
- unless progress_status['track'].nil?
|
||||
%li{'class'=>class_for_todo(progress_status['track'])}
|
||||
%span{'class'=>icon_for_todo(progress_status['track'])}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue