tap/app/views/users/_user.html.haml
2016-03-04 22:45:36 +01:00

6 lines
468 B
Text

.col-md-2.overviewthumbnail
- if user.dagschotel && user.quickpay_hidden == false
= link_to quickpay_user_path(user), remote: true, data: { quickpay: true, type: "json" } do
= image_tag user.dagschotel.avatar(:dagschotel), class: "img-circle dagschotel"
= link_to image_tag(user.avatar(:large) , class: "img-circle avatar"), new_user_order_path(user)
= link_to user.name , new_user_order_path(user), class: "btn btn-info", style: get_color_style(user)