Skip to content

Commit

Permalink
Adding info about week bar and map for owner.
Browse files Browse the repository at this point in the history
  • Loading branch information
polarblau committed Aug 9, 2013
1 parent 8b2bdeb commit 13f4424
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/assets/stylesheets/partials/activities/_show.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
$types: participant ok remove, owner edit edit

#activity
header
p.info
background: $extra-light-gray
border: 1px solid $light-gray
padding: 1em
+custom-sans(medium)

.action
position: absolute
right: 0
Expand Down
9 changes: 9 additions & 0 deletions app/views/activities/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@

= render "action", activity: @activity, type: @activity.relation_ship_with(current_user), remote: false

- if @activity.relation_ship_with(current_user) == 'owner'
%p.info
Please consider adding this activity to our
= succeed "." do
%a(href="https://mapsengine.google.com/map/edit?mid=zddEY5tddvgw.kv-7qKkgMPrg" title="Edit the map") eurucamp week map
%br
If you’re running a website related to this activity show some eurucamp pride with the
%a(href="https://gist.github.com/polarblau/6172669" title="Get the bar") eurucamp week browser bar!

%section.description
.wrapper
= @activity.description_markdown
Expand Down

0 comments on commit 13f4424

Please sign in to comment.