Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Géocontrib Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
GéoContrib
Géocontrib Frontend
Commits
e3aaa0ac
Commit
e3aaa0ac
authored
3 months ago
by
Timothee P
Browse files
Options
Downloads
Patches
Plain Diff
feat: shorten message for mobile display
parent
71a1ae7b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!858
REDMINE_ISSUE-18905 | Gestion du signin/signout erronée
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/MessageInfoList.vue
+11
-4
11 additions, 4 deletions
src/components/MessageInfoList.vue
src/main.js
+2
-2
2 additions, 2 deletions
src/main.js
with
13 additions
and
6 deletions
src/components/MessageInfoList.vue
+
11
−
4
View file @
e3aaa0ac
...
...
@@ -41,12 +41,19 @@ export default {
z-index
:
99
;
opacity
:
0.95
;
width
:
calc
(
100%
-
4em
);
/* 4em is #content left + right paddings */
top
:
calc
(
61
px
+
1em
);
/*
61
px is #app-header height */
top
:
calc
(
40
px
+
1em
);
/*
40
px is #app-header height */
right
:
2em
;
/* 2em is #content left paddings */
}
.message-list
{
list-style
:
none
;
padding-left
:
0
;
margin-top
:
0
;
list-style
:
none
;
padding-left
:
0
;
margin-top
:
0
;
}
@media
screen
and
(
max-width
:
725px
)
{
.row.over-content
{
top
:
calc
(
80px
+
1em
);
/* 90px is #app-header height in mobile display */
width
:
calc
(
100%
-
2em
);
right
:
1em
;
}
}
</
style
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main.js
+
2
−
2
View file @
e3aaa0ac
...
...
@@ -116,7 +116,7 @@ const updateUserStatus = () => {
store
.
commit
(
'
SET_USER
'
,
user
);
store
.
commit
(
'
DISPLAY_MESSAGE
'
,
{
level
:
'
positive
'
,
comment
:
`Bienvenue à nouveau ! Vous êtes reconnecté au service d'authentification
(SSO)
.`
comment
:
`Bienvenue à nouveau ! Vous êtes reconnecté au service d'authentification.`
});
store
.
dispatch
(
'
GET_USER_LEVEL_PERMISSIONS
'
);
store
.
dispatch
(
'
GET_USER_LEVEL_PROJECTS
'
);
...
...
@@ -128,7 +128,7 @@ const updateUserStatus = () => {
store
.
commit
(
'
SET_USER
'
,
false
);
store
.
commit
(
'
DISPLAY_MESSAGE
'
,
{
level
:
'
negative
'
,
comment
:
`
Oups !
Vous avez été déconnecté du service d'authentification
(SSO)
.
comment
:
`Vous avez été déconnecté du service d'authentification.
Reconnectez-vous ou continuez en mode anonyme.`
});
store
.
dispatch
(
'
GET_USER_LEVEL_PERMISSIONS
'
);
...
...
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