Skip to content

Commit

Permalink
Add bold headlines and reduces the padding of the event elements
Browse files Browse the repository at this point in the history
  • Loading branch information
jcremerius committed Jan 19, 2018
1 parent 7881f86 commit 9e85c7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/tile.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

.tile {
width: 100%;
padding: 16px;
padding: 5px;
display: inline;
cursor:pointer;
}
Expand Down
4 changes: 2 additions & 2 deletions app/views/events/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<% end %>
</div>
<% if user_signed_in? and current_user.all_events.present? %>
<h4><%= t('events.index.my_events')%></h4>
<h4><b><%= t('events.index.my_events')%></b></h4>
<div class="tile-wrapper">
<% current_user.all_events.each do |event| %>
<%= render partial: 'application/event_tile_template', locals: {title: event.name, image_url: 'https://owncloud.hpi.de/index.php/s/SygCflD2id5YJgp/download', deadline: event.deadline, startdate: event.startdate,
Expand All @@ -19,7 +19,7 @@
</div>
<% end %>
<br>
<h4><%= t('events.index.all_events') %></h4>
<h4><b><%= t('events.index.all_events') %></b></h4>
<div class="tile-wrapper">
<% @events.each do |event| %>
<%= render partial: 'application/event_tile_template', locals: {title: event.name, image_url: 'https://owncloud.hpi.de/index.php/s/Mjdi0UvHNgfzCTo/download', deadline: event.deadline, startdate: event.startdate,
Expand Down

0 comments on commit 9e85c7c

Please sign in to comment.