improve usability when ordering (PR #552)

also show box with links to currently open orders after the order has been saved
This commit is contained in:
Martin Ortbauer 2018-10-11 22:15:00 +02:00 committed by wvengen
parent 6cc02cb563
commit 4b1e9a6f53

View file

@ -6,7 +6,8 @@
- title t('.title', order: @order.name) - title t('.title', order: @order.name)
.well .row-fluid
.well.pull-left
// Order summary // Order summary
%dl.dl-horizontal %dl.dl-horizontal
%dt= heading_helper Order, :name %dt= heading_helper Order, :name
@ -28,6 +29,10 @@
%dd= show_user_link @order.updated_by %dd= show_user_link @order.updated_by
%p= link_to t('.comment'), "#comments" %p= link_to t('.comment'), "#comments"
.well.pull-right
= close_button :alert
= render 'switch_order', current_order: @order
// Article box // Article box
%section %section
%h2= t '.articles.title' %h2= t '.articles.title'