-
Pending submissions
+
+ You have <%= pluralize @page_collection_submissions.count, 'pending submission' %>
+ to
+ <%= link_to @page_collection.name, @page_collection, class: "#{PageCollection.color}-text" %>.
+
Submitters will be notified if you accept their content.
@@ -30,18 +34,18 @@
Submitted by
- <%= link_to content.user, class: "#{User.color}-text" do %>
+ <%= link_to content.user, class: "#{User.color}-text text-lighten-3" do %>
<%= content.user.display_name %>
<% end %>
<%= time_ago_in_words page_collection_submission.submitted_at %> ago
- <%= link_to approve_page_collection_submission_path(page_collection_submission), class: 'green-text' do %>
+ <%= link_to approve_page_collection_submission_path(page_collection_submission), class: 'btn green white-text' do %>
check
Approve
<% end %>
- <%= link_to pass_page_collection_submission_path(page_collection_submission), class: 'red-text right' do %>
+ <%= link_to pass_page_collection_submission_path(page_collection_submission), class: 'btn red white-text right' do %>
close
Pass
<% end %>
diff --git a/app/views/page_collection_submissions/show.html.erb b/app/views/page_collection_submissions/show.html.erb
deleted file mode 100644
index 96f36672..00000000
--- a/app/views/page_collection_submissions/show.html.erb
+++ /dev/null
@@ -1,4 +0,0 @@
-
<%= notice %>
-
-<%= link_to 'Edit', edit_page_collection_submission_path(@page_collection_submission) %> |
-<%= link_to 'Back', page_collection_submissions_path %>
diff --git a/app/views/page_collections/show.html.erb b/app/views/page_collections/show.html.erb
index 45ef2d31..a0606390 100644
--- a/app/views/page_collections/show.html.erb
+++ b/app/views/page_collections/show.html.erb
@@ -128,7 +128,20 @@
- This collection doesn't have any approved public pages yet. Please check back later!
+ This collection doesn't have any approved public pages yet.
+ <% if user_signed_in? %>
+ <% if current_user == @page_collection.user %>
+
+ Add your first page.
+
+ <% else %>
+
+ Yours could be first!
+
+ <% end %>
+ <% else %>
+ Sign in to submit your pages!
+ <% end %>