VRFS-1827 add Fan Page URL to session info page

This commit is contained in:
Brian Smith 2014-07-01 00:44:10 -04:00
parent 0ece384569
commit b0011137b9
4 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,5 @@
module JamRuby
class ShareToken < ActiveRecord::Base
belongs_to :shareable, :polymorphic => true
end
end

View File

@ -169,7 +169,7 @@
}
}
if ( (openRsvps || hasInvitation) && openSlots && !hasApprovedRsvp && currentUserHasRsvp ) {
if ( (openRsvps || hasInvitation) && openSlots && !hasApprovedRsvp && !currentUserHasRsvp ) {
showRsvpLink = true;
}
else {

View File

@ -20,7 +20,7 @@
%br/
%br/
.left
%a.button-grey{:href => 'TBD', :rel => 'external', :target => '_blank'} HELP
%a.button-grey{:href => 'http://jamkazam.desk.com', :rel => 'external', :target => '_blank'} HELP
.right
%a.button-grey{:id => 'btnCancel', 'layout-action' => 'close'} CANCEL
%a.button-orange{:id => 'btnSubmitRsvp'} SUBMIT RSVP

View File

@ -60,6 +60,10 @@
agreement (
%a.gold{:href => "#{@music_session.legal_policy_url}", :target => "_blank"} View full legal details
)
.clearall.left.w20.ib.mb10
%strong Fan Page:
.right.w75.ib.mb10.access
= share_token_url(@music_session.share_token.token)
%br{clear:'all'}/