5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 21:56:21 +00:00
panel/app/views/components/_actor.haml

23 lines
548 B
Text
Raw Normal View History

-# Componente Remote_Profile
2024-03-06 20:36:13 +00:00
- uri = text_plain(remote_profile['id'])
.py-2
%dl
%dt= t('.profile_name')
2024-03-04 16:11:17 +00:00
%dd= text_plain remote_profile['name']
%dt= t('.preferred_name')
2024-03-04 16:11:17 +00:00
%dd= text_plain remote_profile['preferredUsername']
%dt= t('.profile_id')
%dd
2024-03-06 20:36:13 +00:00
= link_to uri, uri
- if remote_profile['published'].present?
%dt= t('.profile_published')
%dd
2024-03-04 16:11:17 +00:00
= render 'layouts/time', time: text_plain(remote_profile['published'])
%dt= t('.profile_summary')
%dd= sanitize remote_profile['summary']