diff --git a/hiboo/profile/templates/profile_details.html b/hiboo/profile/templates/profile_details.html index 9a6ed8149d4ad9620b3e9e72eaa5ad1a07c8cfe1..23351fa4e437f1927935f1d86d3667137a479dcf 100644 --- a/hiboo/profile/templates/profile_details.html +++ b/hiboo/profile/templates/profile_details.html @@ -12,10 +12,10 @@ <dt class="col-lg-3">{% trans %}Username{% endtrans %}</dt> <dd class="col-lg-9">{{ profile.username }}</dd> - {% if profile.user %} + {% if profile.user %} <dt class="col-lg-3">{% trans %}Owner{% endtrans %}</dt> <dd class="col-lg-9"><a href="{{ url_for("user.details", user_uuid=profile.user_uuid) }}">{{ profile.user.username }}</a></dd> - {% endif %} + {% endif %} <dt class="col-lg-3">{% trans %}UUID{% endtrans %}</dt> <dd class="col-lg-9"><pre>{{ profile.uuid }}</pre></dd> @@ -29,23 +29,6 @@ </div> </div> </div> - <div class="col-md-6 col"> - <div class="card"> - <div class="card-header"> - <h4>{% trans %}Actions{% endtrans %}</h4> - </div> - <div class="card-body"> - <dl class="row"> - {% for action in profile.actions %} - <dt class="col-3"><a href="{{ action.url(profile) }}">{{ action.label | capitalize }}</a></dt> - <dd class="col-9">{{ action.description | capitalize }}</dd> - {% endfor %} - </dl> - </div> - </div> - </div> -</div> -<div class="row"> <div class="col-md-6 col"> {{ macros.timeline(profile.history, public_only=False) }} </div>