0.7.73
profile curtain reformat
This commit is contained in:
27
templates/widgets/profile/w_button_for_profile_menu.html
Normal file
27
templates/widgets/profile/w_button_for_profile_menu.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<div
|
||||
{% if dom_id %}id="{{ dom_id }}"{% endif %}
|
||||
{% if ajax_url %}onclick="select_tab_profile(this,'{{ ajax_url }}'{% if owner_type %},'{{ owner_type }}'{% endif %})"{% endif %}
|
||||
{% if page_name == sel_page_name %}
|
||||
class="selected"
|
||||
{% endif %} >
|
||||
|
||||
<img class="svg" src="{{ img_path }}" />
|
||||
{% if page_type and page_type == 'profile' %}
|
||||
<span class="text_btn_profile">
|
||||
{% else %}
|
||||
<a href="{% url "profile_page" sel_page_name %}" class="text_btn_profile">
|
||||
{% endif %}
|
||||
{{ title }}
|
||||
{% if page_name == 'chat' or page_name == 'support' %}
|
||||
<div class="icon_unread_messages" style="padding-top: 0;">
|
||||
<div class="cost-messages-in-user-tab-messenger">
|
||||
<span class="unredmessages_value_text" style="padding-top: 2px;padding-left: 0;"></span>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if page_type and page_type == 'profile' %}
|
||||
</span>
|
||||
{% else %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user