Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
SMASCH
scheduling-system
Commits
e39e37df
Commit
e39e37df
authored
4 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
reuse div with initials when rendering
parent
4e2b9419
No related branches found
No related tags found
3 merge requests
!316
Merge 1.0.1
,
!315
1.0.1 into master
,
!312
Resolve "in Appointments the Workers are not visible"
Pipeline
#38412
passed
4 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG
+3
-0
3 additions, 0 deletions
CHANGELOG
smash/web/templates/appointments/index.html
+5
-2
5 additions, 2 deletions
smash/web/templates/appointments/index.html
with
8 additions
and
2 deletions
CHANGELOG
+
3
−
0
View file @
e39e37df
smasch (1.0.1-1) stable; urgency=low
* bug fix: worker initials were not visible after changing appointments
calendar view from month to week (#377)
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 15 Mar 2021 14:00:00 +0200
smasch (1.0.0-1) stable; urgency=low
...
...
This diff is collapsed.
Click to expand it.
smash/web/templates/appointments/index.html
+
5
−
2
View file @
e39e37df
...
...
@@ -117,7 +117,10 @@
startParam
:
"
start_date
"
,
endParam
:
"
end_date
"
,
dayRender
:
function
(
date
,
cell
)
{
var
element
=
document
.
createElement
(
"
div
"
);
var
element
=
dayHeaders
[
$
(
cell
[
0
]).
attr
(
"
data-date
"
)];
if
(
element
===
undefined
)
{
element
=
document
.
createElement
(
"
div
"
);
}
cell
[
0
].
appendChild
(
element
);
dayHeaders
[
$
(
cell
[
0
]).
attr
(
"
data-date
"
)]
=
element
;
},
...
...
@@ -146,7 +149,7 @@
if
(
event
.
status
)
{
content
+=
'
<li>Status:
'
+
event
.
status
+
'
</li>
'
}
content
+=
"
</ul>
"
;
$
(
element
).
popover
({
title
:
event
.
title
,
...
...
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