Permalink
Browse files

Updated styling for "Congratulations proposal accepted" box. New dele…

…te icon.
  • Loading branch information...
1 parent 1a94435 commit ed6db2b5bfad86aa38cf6625279f4a366aca38ba @kcomandich kcomandich committed with reidab Apr 27, 2012
@@ -130,11 +130,13 @@ show_private_note = (can_edit?(@proposal) || selector?) && ! @proposal.note_to_o
<% if current_user_is_proposal_speaker? %>
<% if proposal_statuses? && @event.proposal_status_published? && @proposal.accepted? %>
- <h3>Congratulations, your proposal was accepted!</h3>
- <div class="record-controls">
- <%= link_to 'Confirm', speaker_confirm_path(@proposal), :method => :post, :class => 'editable' %>
- <%= link_to 'Decline', speaker_decline_path(@proposal), :confirm => 'Are you sure?', :method => :post, :class => 'deletable' %>
- <p>If you have any questions, email us.</p>
+ <div id="proposal-accepted">
+ <h3>Congratulations, your proposal was accepted!</h3>
+ <p>Are you are still able and willing to deliver this talk at the conference?</p>
+ <div class="record-controls">
+ <%= link_to "Yes, I'll be there!", speaker_confirm_path(@proposal), :method => :post, :class => 'confirmable' %>
+ <%= link_to 'No, I decline.', speaker_decline_path(@proposal), :confirm => 'Are you sure?', :method => :post, :class => 'deletable' %>
+ </div>
</div>
<% end %>
<% end %>
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -98,6 +98,7 @@ span.admin-only {
.editable,
.cancelable,
.deletable,
+.confirmable,
.feedable,
.snippet_edit_link,
.spinning,
@@ -126,7 +127,11 @@ span.admin-only {
}
.deletable {
- background-image: url('/images/redx.png');
+ background-image: url('/images/delete.png');
+}
+
+.confirmable {
+ background-image: url('/images/accept.png');
}
.feedable {
@@ -958,6 +963,13 @@ body.proposals.show #content h2.page_title {
text-indent: 25px;
}
+#proposal-accepted {
+ background: #F1F9FF;
+ border: 1px solid #116DB6;
+ padding : 1em;
+ margin-bottom : 1em;
+}
+
a.to_favorites {
background: url('/images/star.png') no-repeat left center;
padding: 0 0 0 22px;

0 comments on commit ed6db2b

Please sign in to comment.