Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
342
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
27
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
TransFem.org
Sharkey
Commits
7779e04f
Commit
7779e04f
authored
7 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
wip
parent
648e691b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/web/app/desktop/views/components/settings.profile.vue
+12
-6
12 additions, 6 deletions
src/web/app/desktop/views/components/settings.profile.vue
src/web/app/desktop/views/components/settings.vue
+3
-3
3 additions, 3 deletions
src/web/app/desktop/views/components/settings.vue
with
15 additions
and
9 deletions
src/web/app/desktop/views/components/
profile-setting
.vue
→
src/web/app/desktop/views/components/
settings.profile
.vue
+
12
−
6
View file @
7779e04f
<
template
>
<div
class=
"
mk-
profile
-setting
"
>
<div
class=
"profile"
>
<label
class=
"avatar ui from group"
>
<p>
%i18n:desktop.tags.mk-profile-setting.avatar%
</p>
<img
class=
"avatar"
:src=
"`$
{os.i.avatar_url}?thumbnail
&
size=64`" alt="avatar"/>
...
...
@@ -32,12 +32,18 @@ import notify from '../../scripts/notify';
export
default
Vue
.
extend
({
data
()
{
return
{
name
:
(
this
as
any
).
os
.
i
.
name
,
location
:
(
this
as
any
).
os
.
i
.
location
,
description
:
(
this
as
any
).
os
.
i
.
description
,
birthday
:
(
this
as
any
).
os
.
i
.
birthday
,
name
:
null
,
location
:
null
,
description
:
null
,
birthday
:
null
,
};
},
created
()
{
this
.
name
=
(
this
as
any
).
os
.
i
.
name
;
this
.
location
=
(
this
as
any
).
os
.
i
.
profile
.
location
;
this
.
description
=
(
this
as
any
).
os
.
i
.
description
;
this
.
birthday
=
(
this
as
any
).
os
.
i
.
profile
.
birthday
;
},
methods
:
{
updateAvatar
()
{
(
this
as
any
).
apis
.
chooseDriveFile
({
...
...
@@ -61,7 +67,7 @@ export default Vue.extend({
</
script
>
<
style
lang=
"stylus"
scoped
>
.
mk-
profile
-setting
.profile
> .avatar
> img
display inline-block
...
...
This diff is collapsed.
Click to expand it.
src/web/app/desktop/views/components/settings.vue
+
3
−
3
View file @
7779e04f
...
...
@@ -15,7 +15,7 @@
<div
class=
"pages"
>
<section
class=
"profile"
v-show=
"page == 'profile'"
>
<h1>
%i18n:desktop.tags.mk-settings.profile%
</h1>
<
mk
-profile
-setting
/>
<
x
-profile/>
</section>
<section
class=
"web"
v-show=
"page == 'web'"
>
...
...
@@ -73,11 +73,11 @@
<
script
lang=
"ts"
>
import
Vue
from
'
vue
'
;
import
Mk
Profile
Setting
from
'
./
profile-setting
.vue
'
;
import
X
Profile
from
'
./
settings.profile
.vue
'
;
export
default
Vue
.
extend
({
components
:
{
'
mk
-profie
-setting
'
:
Mk
Profile
Setting
'
x
-profi
l
e
'
:
X
Profile
},
data
()
{
return
{
...
...
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