Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9b5c9ade
Commit
9b5c9ade
authored
Dec 07, 2020
by
David O'Regan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add on call schedule edit/delete tooltip
parent
b8f7418a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
ee/app/assets/javascripts/oncall_schedules/components/oncall_schedule.vue
...vascripts/oncall_schedules/components/oncall_schedule.vue
+17
-5
No files found.
ee/app/assets/javascripts/oncall_schedules/components/oncall_schedule.vue
View file @
9b5c9ade
<
script
>
import
{
GlSprintf
,
GlCard
,
GlButtonGroup
,
GlButton
,
GlModalDirective
}
from
'
@gitlab/ui
'
;
import
{
GlSprintf
,
GlCard
,
GlButtonGroup
,
GlButton
,
GlModalDirective
,
GlTooltipDirective
,
}
from
'
@gitlab/ui
'
;
import
{
s__
}
from
'
~/locale
'
;
import
ScheduleTimelineSection
from
'
./schedule/components/schedule_timeline_section.vue
'
;
import
DeleteScheduleModal
from
'
./delete_schedule_modal.vue
'
;
...
...
@@ -10,8 +17,8 @@ import { getFormattedTimezone } from '../utils/common_utils';
export
const
i18n
=
{
scheduleForTz
:
s__
(
'
OnCallSchedules|On-call schedule for the %{tzShort}
'
),
update
ScheduleLabel
:
s__
(
'
OnCallSchedules|Edit schedule
'
),
de
stroy
ScheduleLabel
:
s__
(
'
OnCallSchedules|Delete schedule
'
),
edit
ScheduleLabel
:
s__
(
'
OnCallSchedules|Edit schedule
'
),
de
lete
ScheduleLabel
:
s__
(
'
OnCallSchedules|Delete schedule
'
),
};
export
default
{
...
...
@@ -29,6 +36,7 @@ export default {
},
directives
:
{
GlModal
:
GlModalDirective
,
GlTooltip
:
GlTooltipDirective
,
},
props
:
{
schedule
:
{
...
...
@@ -57,13 +65,17 @@ export default {
<gl-button-group>
<gl-button
v-gl-modal
.
updateScheduleModal
v-gl-tooltip
:title=
"$options.i18n.editScheduleLabel"
icon=
"pencil"
:aria-label=
"$options.i18n.
update
ScheduleLabel"
:aria-label=
"$options.i18n.
edit
ScheduleLabel"
/>
<gl-button
v-gl-modal
.
deleteScheduleModal
v-gl-tooltip
:title=
"$options.i18n.deleteScheduleLabel"
icon=
"remove"
:aria-label=
"$options.i18n.de
stroy
ScheduleLabel"
:aria-label=
"$options.i18n.de
lete
ScheduleLabel"
/>
</gl-button-group>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment