OSDN Git Service
(root)
/
newslash
/
newslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbb94b4
)
/archive: hide advertise when no contents (#7688)
author
hylom
<hylom@users.osdn.me>
Fri, 7 Jun 2019 17:16:13 +0000
(17:16 +0000)
committer
hylom
<hylom@users.osdn.me>
Fri, 7 Jun 2019 17:16:13 +0000
(17:16 +0000)
src/newslash_web/lib/Newslash/Web/Controller/Archive.pm
patch
|
blob
|
history
diff --git
a/src/newslash_web/lib/Newslash/Web/Controller/Archive.pm
b/src/newslash_web/lib/Newslash/Web/Controller/Archive.pm
index
14962b1
..
34eb328
100644
(file)
--- a/
src/newslash_web/lib/Newslash/Web/Controller/Archive.pm
+++ b/
src/newslash_web/lib/Newslash/Web/Controller/Archive.pm
@@
-208,6
+208,7
@@
sub _render_archive {
next_month => $next_month,
prev_month_date => $prev_month_date,
next_month_date => $next_month_date,
+ no_ad => (@items == 0),
);
if (@$items == 0) {