diff --git a/app/templates/admin_profile.html b/app/templates/admin_profile.html index 68cc05f..b46412e 100644 --- a/app/templates/admin_profile.html +++ b/app/templates/admin_profile.html @@ -1,7 +1,7 @@ {%- import "utils.html" as utils with context -%} {% extends "layout.html" %} {% block content %} - {{ utils.display_actor(actor, actors_metadata) }} + {{ utils.display_actor(actor, actors_metadata, with_details=True) }} {% for inbox_object in inbox_objects %} {% if inbox_object.ap_type == "Announce" %} {{ utils.actor_action(inbox_object, "shared") }} diff --git a/app/templates/lookup.html b/app/templates/lookup.html index 0f3d2e1..8934683 100644 --- a/app/templates/lookup.html +++ b/app/templates/lookup.html @@ -29,7 +29,7 @@ {% endif %} {% if ap_object and ap_object.ap_type in actor_types %} - {{ utils.display_actor(ap_object, actors_metadata) }} + {{ utils.display_actor(ap_object, actors_metadata, with_details=True) }} {% elif ap_object %} {{ utils.display_object(ap_object, actors_metadata=actors_metadata) }} {% endif %} diff --git a/app/templates/utils.html b/app/templates/utils.html index 7f8fa00..9ee1afd 100644 --- a/app/templates/utils.html +++ b/app/templates/utils.html @@ -179,7 +179,7 @@ {% endmacro %} -{% macro display_actor(actor, actors_metadata={}, embedded=False) %} +{% macro display_actor(actor, actors_metadata={}, embedded=False, with_details=False) %} {% set metadata = actors_metadata.get(actor.ap_id) %} {% if not embedded %} @@ -195,6 +195,14 @@