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

21 lines
530 B
Text
Raw Normal View History

-# Componente Remote_Profile
.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-04 16:11:17 +00:00
= link_to text_plain(remote_profile['id'])
- 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']