From e518431b8ef7aad85769be5d9352006f52af2775 Mon Sep 17 00:00:00 2001 From: James Mason Date: Thu, 18 Oct 2018 11:56:36 -0700 Subject: [PATCH] Rename 'Call for Papers' to 'Calls for Content' --- app/views/admin/cfps/index.html.haml | 5 +++-- app/views/layouts/_admin_sidebar.html.haml | 2 +- spec/features/cfp_ability_spec.rb | 2 +- spec/features/organization_admin_ability_spec.rb | 2 +- spec/features/organizer_ability_spec.rb | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/views/admin/cfps/index.html.haml b/app/views/admin/cfps/index.html.haml index 7b994224..a1811b9e 100644 --- a/app/views/admin/cfps/index.html.haml +++ b/app/views/admin/cfps/index.html.haml @@ -1,9 +1,10 @@ .row .col-md-12 .page-header - %h1 Call for Papers + %h1 Calls for Content %p.text-muted - Call for people to submit events to your conference + Ask people to submit content to your conference, + within defined timeframes. - if @program.cfps .row .col-md-12 diff --git a/app/views/layouts/_admin_sidebar.html.haml b/app/views/layouts/_admin_sidebar.html.haml index 2f6ed5a5..c6da29b0 100644 --- a/app/views/layouts/_admin_sidebar.html.haml +++ b/app/views/layouts/_admin_sidebar.html.haml @@ -68,7 +68,7 @@ %ul - if can? :update, Cfp.new(program_id: @conference.program.id) %li{class: active_nav_li(admin_conference_program_cfps_path(@conference.short_title))} - = link_to 'Call for Papers', admin_conference_program_cfps_path(@conference.short_title) + = link_to 'Calls for Content', admin_conference_program_cfps_path(@conference.short_title) - if can? :update, @conference.program.events.build %li{class: active_nav_li(admin_conference_program_events_path(@conference.short_title))} = link_to 'Events', admin_conference_program_events_path(@conference.short_title) diff --git a/spec/features/cfp_ability_spec.rb b/spec/features/cfp_ability_spec.rb index 4ff56e5b..3823f21f 100644 --- a/spec/features/cfp_ability_spec.rb +++ b/spec/features/cfp_ability_spec.rb @@ -27,7 +27,7 @@ feature 'Has correct abilities' do expect(page).to have_link('Venue', href: "/admin/conferences/#{conference.short_title}/venue") expect(page).to have_link('Rooms', href: "/admin/conferences/#{conference.short_title}/venue/rooms") expect(page).to have_link('Program', href: "/admin/conferences/#{conference.short_title}/program") - expect(page).to have_link('Call for Papers', href: "/admin/conferences/#{conference.short_title}/program/cfps") + expect(page).to have_link('Calls for Content', href: "/admin/conferences/#{conference.short_title}/program/cfps") expect(page).to have_link('Events', href: "/admin/conferences/#{conference.short_title}/program/events") expect(page).to have_link('Tracks', href: "/admin/conferences/#{conference.short_title}/program/tracks") expect(page).to have_link('Event Types', href: "/admin/conferences/#{conference.short_title}/program/event_types") diff --git a/spec/features/organization_admin_ability_spec.rb b/spec/features/organization_admin_ability_spec.rb index 47aa98ed..5765d97f 100644 --- a/spec/features/organization_admin_ability_spec.rb +++ b/spec/features/organization_admin_ability_spec.rb @@ -38,7 +38,7 @@ feature 'Has correct abilities' do expect(page).to have_link('Rooms', href: "/admin/conferences/#{conference.short_title}/venue/rooms") expect(page).to have_link('Lodgings', href: "/admin/conferences/#{conference.short_title}/lodgings") expect(page).to have_link('Program', href: "/admin/conferences/#{conference.short_title}/program") - expect(page).to have_link('Call for Papers', href: "/admin/conferences/#{conference.short_title}/program/cfps") + expect(page).to have_link('Calls for Content', href: "/admin/conferences/#{conference.short_title}/program/cfps") expect(page).to have_link('Events', href: "/admin/conferences/#{conference.short_title}/program/events") expect(page).to have_link('Tracks', href: "/admin/conferences/#{conference.short_title}/program/tracks") expect(page).to have_link('Event Types', href: "/admin/conferences/#{conference.short_title}/program/event_types") diff --git a/spec/features/organizer_ability_spec.rb b/spec/features/organizer_ability_spec.rb index 1c597c02..6339b6fa 100644 --- a/spec/features/organizer_ability_spec.rb +++ b/spec/features/organizer_ability_spec.rb @@ -41,7 +41,7 @@ feature 'Has correct abilities' do expect(page).to have_link('Rooms', href: "/admin/conferences/#{conference.short_title}/venue/rooms") expect(page).to have_link('Lodgings', href: "/admin/conferences/#{conference.short_title}/lodgings") expect(page).to have_link('Program', href: "/admin/conferences/#{conference.short_title}/program") - expect(page).to have_link('Call for Papers', href: "/admin/conferences/#{conference.short_title}/program/cfps") + expect(page).to have_link('Calls for Content', href: "/admin/conferences/#{conference.short_title}/program/cfps") expect(page).to have_link('Events', href: "/admin/conferences/#{conference.short_title}/program/events") expect(page).to have_link('Tracks', href: "/admin/conferences/#{conference.short_title}/program/tracks") expect(page).to have_link('Event Types', href: "/admin/conferences/#{conference.short_title}/program/event_types")