Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Bartels committed Dec 21, 2023
1 parent e67205b commit 9550a34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/desks/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
%td
= desk.room.floor.name
%td
= desk.room.name
= link_to "#{desk.room.name}", room_path(:id => desk.room.id, :start_date => (DateTime.now.utc.beginning_of_day + 1.day).strftime("%Y-%m-%dT%H:%M"))
%td
= desk.pos_x
%td
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.container-fluid
.row
= render partial: 'shared/sidebar' if user_signed_in?
%main.ml-sm-auto.pt-3.px-4{role: :main, class: user_signed_in? ? 'col-md-11' : 'col-md-12'}
%main.ml-sm-auto.pt-3.px-4{role: :main, class: user_signed_in? ? 'col-md-10' : 'col-md-12'}
= flash_messages
= yield
#modal-holder
2 changes: 1 addition & 1 deletion app/views/shared/_sidebar.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%nav.col-md-1.d-md-block.bg-dark.sidebar
%nav.col-md-2.d-md-block.bg-dark.sidebar
.sidebar-sticky.pt-0.border-right
%ul.nav.flex-column.list-group.list-group-flush.p-3
= link_to root_path, class: 'list-group-item list-group-item-action' do
Expand Down

0 comments on commit 9550a34

Please sign in to comment.