File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 199199
200200 { call_hook name= " Templates::Preprint::Main" }
201201
202- { * Usage statistics chart*}
203- { if $activeTheme -> getOption (' displayStats' ) != ' none' }
202+ { * Usage statistics chart *}
203+ { if $activeTheme && $ activeTheme -> getOption (' displayStats' ) != ' none' }
204204 { $activeTheme -> displayUsageStatsGraph ($preprint -> getId ())}
205205 <section class =" item downloads_chart" >
206206 <h2 class =" label" >
Original file line number Diff line number Diff line change 2727 { include file= " frontend/components/highlights.tpl" highlights= $highlights }
2828 { /if }
2929
30- { if ! $activeTheme -> getOption (' useHomepageImageAsHeader' ) && $homepageImage }
30+ { if $ activeTheme && ! $activeTheme -> getOption (' useHomepageImageAsHeader' ) && $homepageImage }
3131 <img src =" { $publicFilesDir } /{ $homepageImage .uploadName|escape :" url" } " alt =" { $homepageImageAltText |escape } " >
3232 { /if }
3333
4747 </section >
4848
4949 { * Server Description *}
50- { if $activeTheme -> getOption (' showDescriptionInServerIndex' )}
50+ { if $activeTheme && $ activeTheme -> getOption (' showDescriptionInServerIndex' )}
5151 <section class =" homepage_about" >
5252 <a id =" homepageAbout" ></a >
5353 <h2 >{ translate key= " about.aboutContext" } </h2 >
You can’t perform that action at this time.
0 commit comments