From 4d8cf26c5482928a619c331b07f40ed617ec2257 Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Tue, 22 Nov 2016 16:59:54 -0600 Subject: [PATCH] updated missing page titles --- app/views/admin/auth/login.html.erb | 1 + app/views/admin/auth/reset.html.erb | 1 + app/views/admin/auth/reset_request.html.erb | 1 + app/views/admin/candidate/edit.html.erb | 4 ++++ app/views/admin/candidate/index.html.erb | 1 + app/views/admin/candidate/new.html.erb | 4 ++++ app/views/admin/profile/edit.html.erb | 1 + app/views/admin/profile/view.html.erb | 1 + app/views/admin/question/edit.html.erb | 1 + app/views/admin/question/index.html.erb | 1 + app/views/admin/question/new.html.erb | 1 + app/views/admin/question/view.html.erb | 1 + app/views/admin/quiz/index.html.erb | 1 + app/views/admin/quiz/new.html.erb | 1 + app/views/admin/quiz/view.html.erb | 1 + app/views/admin/result/index.html.erb | 1 + app/views/admin/result/view.html.erb | 4 ++++ app/views/candidate/oops.html.erb | 2 ++ app/views/candidate/saved.html.erb | 1 + app/views/candidate/thankyou.html.erb | 1 + app/views/quiz/summary.html.erb | 2 +- 21 files changed, 31 insertions(+), 1 deletion(-) diff --git a/app/views/admin/auth/login.html.erb b/app/views/admin/auth/login.html.erb index e7746c7..169ee63 100644 --- a/app/views/admin/auth/login.html.erb +++ b/app/views/admin/auth/login.html.erb @@ -1,5 +1,6 @@ <% content_for :main_class, "intro_tpl" + content_for :title, "Skills Assessment Admin" %>

Admin Login

diff --git a/app/views/admin/auth/reset.html.erb b/app/views/admin/auth/reset.html.erb index 2b1aee8..ddc3e80 100644 --- a/app/views/admin/auth/reset.html.erb +++ b/app/views/admin/auth/reset.html.erb @@ -1,5 +1,6 @@ <% content_for :main_class, "intro_tpl" + content_for :title, "Skills Assessment Admin" %>

Password Reset

diff --git a/app/views/admin/auth/reset_request.html.erb b/app/views/admin/auth/reset_request.html.erb index bb23fb8..6618a19 100644 --- a/app/views/admin/auth/reset_request.html.erb +++ b/app/views/admin/auth/reset_request.html.erb @@ -1,5 +1,6 @@ <% content_for :main_class, "intro_tpl" + content_for :title, "Skills Assessment Admin" %>

Password Reset

diff --git a/app/views/admin/candidate/edit.html.erb b/app/views/admin/candidate/edit.html.erb index 5de8973..10899c3 100644 --- a/app/views/admin/candidate/edit.html.erb +++ b/app/views/admin/candidate/edit.html.erb @@ -1,3 +1,7 @@ +<% + content_for :title, "Edit Candidate - Skills Assessment Admin" +%> +

Edit: <%= @candidate.name %>

Test ID: <%= @candidate.test_hash %>

diff --git a/app/views/admin/candidate/index.html.erb b/app/views/admin/candidate/index.html.erb index 1912731..1e290bd 100644 --- a/app/views/admin/candidate/index.html.erb +++ b/app/views/admin/candidate/index.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "Candidates" + content_for :title, "Candidates - Skills Assessment Admin" %>
<%= link_to(admin_new_candidate_path, { class: 'secondary-btn' }) do %> diff --git a/app/views/admin/candidate/new.html.erb b/app/views/admin/candidate/new.html.erb index c529467..db1ebc3 100644 --- a/app/views/admin/candidate/new.html.erb +++ b/app/views/admin/candidate/new.html.erb @@ -1,3 +1,7 @@ +<% + content_for :title, "New Candidate - Skills Assessment Admin" +%> +

New Candidate

diff --git a/app/views/admin/profile/edit.html.erb b/app/views/admin/profile/edit.html.erb index d1014d2..04eac6b 100644 --- a/app/views/admin/profile/edit.html.erb +++ b/app/views/admin/profile/edit.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "Edit: #{@user.name}" + content_for :title, "Profile - Skills Assessment Admin" %> <%= render partial: 'shared/form_model_errors', locals: {obj: @user} %> diff --git a/app/views/admin/profile/view.html.erb b/app/views/admin/profile/view.html.erb index 1c1af5f..6cc0db1 100644 --- a/app/views/admin/profile/view.html.erb +++ b/app/views/admin/profile/view.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "Profile" + content_for :title, "Profile - Skills Assessment Admin" %>

Name: <%= current_user.name %>

diff --git a/app/views/admin/question/edit.html.erb b/app/views/admin/question/edit.html.erb index 6428daa..67ca722 100644 --- a/app/views/admin/question/edit.html.erb +++ b/app/views/admin/question/edit.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "Questions" + content_for :title, "Edit Question - Skills Assessment Admin" %>

<%= @question.quiz.name %>

diff --git a/app/views/admin/question/index.html.erb b/app/views/admin/question/index.html.erb index f6f17b0..4f78c39 100644 --- a/app/views/admin/question/index.html.erb +++ b/app/views/admin/question/index.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "Questions" + content_for :title, "Questions - Skills Assessment Admin" %> <% quizzes = @questions.group_by{ |q| q.quiz.name } %> diff --git a/app/views/admin/question/new.html.erb b/app/views/admin/question/new.html.erb index 351b388..cfda31c 100644 --- a/app/views/admin/question/new.html.erb +++ b/app/views/admin/question/new.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "New Question" + content_for :title, "New Question - Skills Assessment Admin" %> <%= render partial: 'form', locals: {question: @question, action: admin_create_question_path } %> diff --git a/app/views/admin/question/view.html.erb b/app/views/admin/question/view.html.erb index fc72e6c..913e737 100644 --- a/app/views/admin/question/view.html.erb +++ b/app/views/admin/question/view.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "Question for #{@question.quiz.name}" + content_for :title, "Question - Skills Assessment Admin" %> diff --git a/app/views/admin/quiz/index.html.erb b/app/views/admin/quiz/index.html.erb index 1bce4e8..068759b 100644 --- a/app/views/admin/quiz/index.html.erb +++ b/app/views/admin/quiz/index.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "Quizzes" + content_for :title, "Quizzes - Skills Assessment Admin" %> <%= render partial: 'admin/quiz/table_list', locals: { quizzes: @quizzes } %> diff --git a/app/views/admin/quiz/new.html.erb b/app/views/admin/quiz/new.html.erb index 2bb5726..15b084a 100644 --- a/app/views/admin/quiz/new.html.erb +++ b/app/views/admin/quiz/new.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "New Quiz" + content_for :title, "New Quiz - Skills Assessment Admin" %> <%= render partial: 'form', locals: { quiz: @quiz, action: admin_create_quiz_path } %> diff --git a/app/views/admin/quiz/view.html.erb b/app/views/admin/quiz/view.html.erb index f37b865..ad00425 100644 --- a/app/views/admin/quiz/view.html.erb +++ b/app/views/admin/quiz/view.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "#{@quiz.name}" + content_for :title, "Quiz - Skills Assessment Admin" %>

<%= @quiz.name %>

diff --git a/app/views/admin/result/index.html.erb b/app/views/admin/result/index.html.erb index 3c1373c..60b01b4 100644 --- a/app/views/admin/result/index.html.erb +++ b/app/views/admin/result/index.html.erb @@ -1,5 +1,6 @@ <% content_for :section_title, "Completed Tests" + content_for :title, "Quiz Results - Skills Assessment Admin" %>
diff --git a/app/views/admin/result/view.html.erb b/app/views/admin/result/view.html.erb index 23dfa7b..1ad7f5a 100644 --- a/app/views/admin/result/view.html.erb +++ b/app/views/admin/result/view.html.erb @@ -1,3 +1,7 @@ +<% + content_for :title, "Quiz Review - Skills Assessment Admin" +%> +

Quiz Review

diff --git a/app/views/candidate/oops.html.erb b/app/views/candidate/oops.html.erb index 81eda59..e17a4cc 100644 --- a/app/views/candidate/oops.html.erb +++ b/app/views/candidate/oops.html.erb @@ -1,3 +1,5 @@ +<% content_for :title, "Skills Assessment" %> +

Oops!

diff --git a/app/views/candidate/saved.html.erb b/app/views/candidate/saved.html.erb index bd7dda0..e7f09eb 100644 --- a/app/views/candidate/saved.html.erb +++ b/app/views/candidate/saved.html.erb @@ -1,3 +1,4 @@ +<% content_for :title, "Saved! - Skills Assessment" %>

Your test results have been saved. You can visit again later with your Test ID to complete diff --git a/app/views/candidate/thankyou.html.erb b/app/views/candidate/thankyou.html.erb index b796e52..e2df7e2 100644 --- a/app/views/candidate/thankyou.html.erb +++ b/app/views/candidate/thankyou.html.erb @@ -1,3 +1,4 @@ +<% content_for :title, "Thank You - Skills Assessment" %>

Thank you!

diff --git a/app/views/quiz/summary.html.erb b/app/views/quiz/summary.html.erb index cf0bab9..1491bd9 100644 --- a/app/views/quiz/summary.html.erb +++ b/app/views/quiz/summary.html.erb @@ -1,5 +1,5 @@ <% - content_for :title, "Skills Assessment" + content_for :title, "Summary - Skills Assessment" content_for :footer_title, "Skills Assessment" content_for :progress, @status.progress.to_s content_for_javascript_once 'summary-edit' do