17 lines
943 B
Common Lisp
17 lines
943 B
Common Lisp
(text "{% extends \"profile/base.html\" %} {% block content %} {% if profile.settings.enable_questions and (user or profile.settings.allow_anonymous_questions) %}")
|
|
(div
|
|
("style" "display: contents")
|
|
(text "{{ components::create_question_form(receiver=profile.id, header=profile.settings.motivational_header, drawing_enabled=profile.settings.enable_drawings, allow_anonymous=profile.settings.allow_anonymous_questions) }}"))
|
|
(text "{%- endif %}")
|
|
(text "{{ macros::profile_nav(selected=\"shop\") }}")
|
|
(div
|
|
("class" "card_nest")
|
|
(div
|
|
("class" "card small flex gap_2 items_center")
|
|
(icon (text "store"))
|
|
(str (text "auth:label.shop")))
|
|
(div
|
|
("class" "card w_full flex flex_col gap_2")
|
|
(text "{% for item in list %} {{ components::product_listing_card(product=item) }} {% endfor %}")
|
|
(text "{{ components::pagination(page=page, items=list|length) }}")))
|
|
(text "{% endblock %}")
|