Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pleroma-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Pleroma
pleroma-fe
Commits
f146562d
There was a problem fetching the pipeline summary.
Commit
f146562d
authored
6 years ago
by
lain
Browse files
Options
Downloads
Plain Diff
Merge branch 'target_blank_profile' into 'develop'
Made links in user bio always open in new tabs Closes
#169
See merge request
!394
parents
29ced0c0
6d6d1102
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!394
Made links in user bio always open in new tabs
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/user_card_content/user_card_content.js
+8
-0
8 additions, 0 deletions
src/components/user_card_content/user_card_content.js
src/components/user_card_content/user_card_content.vue
+1
-1
1 addition, 1 deletion
src/components/user_card_content/user_card_content.vue
with
9 additions
and
1 deletion
src/components/user_card_content/user_card_content.js
+
8
−
0
View file @
f146562d
...
...
@@ -98,6 +98,14 @@ export default {
const
store
=
this
.
$store
store
.
commit
(
'
setProfileView
'
,
{
v
})
}
},
linkClicked
({
target
})
{
if
(
target
.
tagName
===
'
SPAN
'
)
{
target
=
target
.
parentNode
}
if
(
target
.
tagName
===
'
A
'
)
{
window
.
open
(
target
.
href
,
'
_blank
'
)
}
}
}
}
This diff is collapsed.
Click to expand it.
src/components/user_card_content/user_card_content.vue
+
1
−
1
View file @
f146562d
...
...
@@ -105,7 +105,7 @@
<span
v-if=
"!hideUserStatsLocal"
>
{{
user
.
followers_count
}}
</span>
</div>
</div>
<p
v-if=
"!hideBio && user.description_html"
class=
"profile-bio"
v-html=
"user.description_html"
></p>
<p
@
click.prevent=
"linkClicked"
v-if=
"!hideBio && user.description_html"
class=
"profile-bio"
v-html=
"user.description_html"
></p>
<p
v-else-if=
"!hideBio"
class=
"profile-bio"
>
{{
user
.
description
}}
</p>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
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