2024-02-29 18:54:53 +00:00
|
|
|
-# Componente Remote_Profile
|
|
|
|
|
2024-03-06 20:36:13 +00:00
|
|
|
- uri = text_plain(remote_profile['id'])
|
|
|
|
|
2024-02-29 18:54:53 +00:00
|
|
|
.py-2
|
|
|
|
%dl
|
|
|
|
%dt= t('.profile_name')
|
2024-03-04 16:11:17 +00:00
|
|
|
%dd= text_plain remote_profile['name']
|
2024-02-29 18:54:53 +00:00
|
|
|
|
|
|
|
%dt= t('.preferred_name')
|
2024-03-04 16:11:17 +00:00
|
|
|
%dd= text_plain remote_profile['preferredUsername']
|
2024-02-29 18:54:53 +00:00
|
|
|
|
|
|
|
%dt= t('.profile_id')
|
|
|
|
%dd
|
2024-03-06 20:36:13 +00:00
|
|
|
= link_to uri, uri
|
2024-02-29 18:54:53 +00:00
|
|
|
|
|
|
|
- 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'])
|
2024-02-29 18:54:53 +00:00
|
|
|
%dt= t('.profile_summary')
|
2024-03-01 19:57:41 +00:00
|
|
|
%dd= sanitize remote_profile['summary']
|