Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
calendar-3432792
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
calendar-3432792
Commits
69e13f6f
Commit
69e13f6f
authored
14 years ago
by
Karen Stevenson
Browse files
Options
Downloads
Patches
Plain Diff
#360364
by marcushenningsen, don't link to day if there is no day view.
parent
603f80c1
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
CHANGELOG.txt
+1
-0
1 addition, 0 deletions
CHANGELOG.txt
theme/theme.inc
+1
-1
1 addition, 1 deletion
theme/theme.inc
with
2 additions
and
1 deletion
CHANGELOG.txt
+
1
−
0
View file @
69e13f6f
...
...
@@ -6,6 +6,7 @@ See documentation at http://drupal.org/node/262064.
Version 2.0 dev
=================
- #360364 by marcushenningsen, don't link to day if there is no day view.
- #382852 by llslim, make sure replacements patterns work even if field is excluded.
- #660880 by kaare, fix method of including js in jacalendar module.
- #760316 by skwashd, arithmetric clean up ical rfc compliance.
...
...
This diff is collapsed.
Click to expand it.
theme/theme.inc
+
1
−
1
View file @
69e13f6f
...
...
@@ -511,7 +511,7 @@ function template_preprocess_calendar_datebox(&$vars) {
$vars
[
'day'
]
=
intval
(
substr
(
$date
,
8
,
2
));
$force_view_url
=
!
empty
(
$view
->
date_info
->
block
)
?
TRUE
:
FALSE
;
$vars
[
'url'
]
=
date_real_url
(
$view
,
NULL
,
$date
,
$force_view_url
);
$vars
[
'link'
]
=
l
(
$vars
[
'day'
],
$vars
[
'url'
]);
$vars
[
'link'
]
=
!
empty
(
$view
->
date_info
->
display_types
[
'day'
])
?
l
(
$vars
[
'day'
],
$vars
[
'url'
])
:
$vars
[
'day'
]
;
$vars
[
'granularity'
]
=
$view
->
date_info
->
granularity
;
$vars
[
'mini'
]
=
$view
->
date_info
->
mini
;
...
...
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