tap/app/views/users/_user.html.haml

7 lines
468 B
Text
Raw Normal View History

2015-09-17 14:05:33 +02:00
.col-md-2.overviewthumbnail
- if user.dagschotel && user.quickpay_hidden == false
2015-10-28 20:48:49 +01:00
= link_to quickpay_user_path(user), remote: true, data: { quickpay: true, type: "json" } do
2015-09-17 14:05:33 +02:00
= 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)