template: custom themes for agenda
For agenda a custom theme can be configured in locations/theme. Templates are read from the subdirectory "templates/<theme>/". The default theme is "default". All Templates are moved to templates/default.
This commit is contained in:
26
website/agenda/templates/default/no_result.html
Normal file
26
website/agenda/templates/default/no_result.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<TMPL_IF no_result>
|
||||
<div id="empty_or_not">
|
||||
|
||||
<script>
|
||||
jQuery( document ).ready(function() {
|
||||
//load next shows into current playlist
|
||||
if(jQuery('#coming_shows').length!=0) jQuery('#coming_shows').load('/agenda/playlistLong/');
|
||||
|
||||
//hide next shows
|
||||
if(jQuery('#calcms_playlist').length!=0) jQuery('#calcms_playlist').parent().parent().hide();
|
||||
|
||||
//hide programm menu
|
||||
if(jQuery('#calcms_menu').length!=0) jQuery('#calcms_menu').parent().parent().hide();
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="content" style="clear:both"><TMPL_VAR no_result_message escape="none"></div>
|
||||
|
||||
<h3 class="summary title">Kommende Sendungen</h3>
|
||||
|
||||
<div id="coming_shows"></div>
|
||||
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user