|
|
@ -21,7 +21,7 @@ |
|
|
<a href="{% url 'acc_app:setup_info' %}" class="btn btn-primary btn-sm" role="button"> |
|
|
<a href="{% url 'acc_app:setup_info' %}" class="btn btn-primary btn-sm" role="button"> |
|
|
<span class="glyphicon glyphicon-edit"></span> Редактировать</a> |
|
|
<span class="glyphicon glyphicon-edit"></span> Редактировать</a> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
<a href="{% url 'taskapp:add' %}?rp={{ userprofile.id }}" class="btn btn-default btn-sm" role="button"> |
|
|
|
|
|
|
|
|
<a href="#" class="btn btn-default btn-sm disabled" role="button"> |
|
|
<span class="glyphicon glyphicon-star-empty"></span> Дать задачу</a> |
|
|
<span class="glyphicon glyphicon-star-empty"></span> Дать задачу</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
@ -30,15 +30,15 @@ |
|
|
<div class="col-sm-9"> |
|
|
<div class="col-sm-9"> |
|
|
<h3>{{ userprofile.username|default:"<Нет ника>" }}</h3> |
|
|
<h3>{{ userprofile.username|default:"<Нет ника>" }}</h3> |
|
|
<ul class="nav nav-tabs"> |
|
|
<ul class="nav nav-tabs"> |
|
|
<li class="active"> |
|
|
|
|
|
<a href="#livetab_content" data-tab-remote="{% url 'acc_app:other_profile' uid %}" role="tab" |
|
|
|
|
|
data-toggle="tab"> |
|
|
|
|
|
|
|
|
{% url 'acc_app:other_profile' uid as profile_url %} |
|
|
|
|
|
<li{% if profile_url == request.path %} class="active"{% endif %}> |
|
|
|
|
|
<a href="{{ profile_url }}"> |
|
|
Администратор |
|
|
Администратор |
|
|
</a> |
|
|
</a> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
|
|
|
<a href="#livetab_content" data-tab-remote="{% url 'acc_app:profile_setup_group' uid %}" role="tab" |
|
|
|
|
|
data-toggle="tab"> |
|
|
|
|
|
|
|
|
{% url 'acc_app:profile_setup_group' uid as profilegroups_url %} |
|
|
|
|
|
<li{% if profilegroups_url == request.path %} class="active"{% endif %}> |
|
|
|
|
|
<a href="{{ profilegroups_url }}"> |
|
|
Группы |
|
|
Группы |
|
|
</a> |
|
|
</a> |
|
|
</li> |
|
|
</li> |
|
|
|