Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
redmine_v2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VeNtura
redmine_v2
Commits
c5e74175
Commit
c5e74175
authored
Oct 02, 2019
by
Van Hau Le
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update activity name
parent
fd780ea7
Pipeline
#76
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/models/time_entry_activity.rb
+2
-2
No files found.
app/models/time_entry_activity.rb
View file @
c5e74175
...
...
@@ -33,7 +33,7 @@ class TimeEntryActivity < Enumeration
].
freeze
SUPPORT_ACTIVITIES
=
[
"Communication"
,
"Project Management"
,
"
Leave Off"
,
"Idle"
,
"Company Meeting"
,
"Support"
,
"Others
"
"Communication"
,
"Project Management"
,
"
Annual Leave Off"
,
"Idle"
,
"Company Meeting"
,
"Support"
,
"Others"
,
"Public holiday
"
].
freeze
def
option_name
...
...
@@ -53,7 +53,7 @@ class TimeEntryActivity < Enumeration
end
def
is_activity_for_task?
TASK_BUGS_ACTIVITIES
.
include?
name
TASK_BUGS_ACTIVITIES
.
include?
name
&
.
strip
end
def
is_activity_for_support?
...
...
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