Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Castopod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ad Aures
Castopod
Commits
de099ac6
Commit
de099ac6
authored
1 year ago
by
Guy Martin (Dwev)
Committed by
Yassine Doghri
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
feat: add actor domain to handle in follow page
parent
76e1251e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#15692
canceled
1 year ago
Stage: prepare
Stage: quality
Stage: bundle
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
themes/cp_app/podcast/follow.php
+3
-3
3 additions, 3 deletions
themes/cp_app/podcast/follow.php
with
3 additions
and
3 deletions
themes/cp_app/podcast/follow.php
+
3
−
3
View file @
de099ac6
...
...
@@ -36,14 +36,15 @@
<h1
class=
"w-full pt-8 pb-32 text-lg font-semibold text-center text-white bg-header"
>
<?=
lang
(
'Fediverse.follow.subtitle'
,
)
?>
</h1>
<div
class=
"flex flex-col w-full
max-w-xs
-mt-24 overflow-hidden shadow bg-elevated rounded-xl"
>
<div
class=
"flex flex-col w-full -mt-24 overflow-hidden shadow
max-w-fit
bg-elevated rounded-xl"
>
<img
src=
"
<?=
get_podcast_banner_url
(
$actor
->
podcast
,
'small'
)
?>
"
alt=
""
class=
"w-full aspect-[3/1] bg-header"
loading=
"lazy"
/>
<div
class=
"flex px-4 py-2"
>
<img
src=
"
<?=
$actor
->
avatar_image_url
?>
"
alt=
"
<?=
esc
(
$actor
->
display_name
)
?>
"
class=
"w-16 h-16 mr-4 -mt-8 rounded-full ring-2 ring-background-elevated aspect-square"
loading=
"lazy"
/>
<div
class=
"flex flex-col"
>
<p
class=
"font-semibold"
>
<?=
esc
(
$actor
->
display_name
)
?>
</p>
<p
class=
"text-sm text-skin-muted"
>
@
<?=
esc
(
$actor
->
username
)
?>
</p>
<p
class=
"text-sm text-skin-muted"
>
<span
title=
"@
<?=
esc
(
$actor
->
username
)
?>
@
<?=
esc
(
$actor
->
domain
)
?>
"
data-tooltip=
"bottom"
>
@
<?=
esc
(
$actor
->
username
)
?>
@
<?=
esc
(
$actor
->
domain
)
?>
</span></p>
</div>
</div>
</div>
...
...
@@ -53,7 +54,6 @@
<form
action=
"
<?=
route_to
(
'attempt-follow'
,
esc
(
$actor
->
username
))
?>
"
method=
"POST"
class=
"flex flex-col gap-y-2"
>
<?=
csrf_field
()
?>
<?=
view
(
'_message_block'
)
?>
<Forms.Field
name=
"handle"
label=
"
<?=
esc
(
lang
(
'Fediverse.your_handle'
))
?>
"
...
...
This diff is collapsed.
Click to expand it.
Yassine Doghri
@yassinedoghri
mentioned in commit
bc4f93d2
·
1 year ago
mentioned in commit
bc4f93d2
mentioned in commit bc4f93d2b7c62b8fe2518de8b614019cdfd47f1f
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment