{* $Id$ *} {title help="User Watches"}{tr}User Watches and preferences{/tr}{/title} {include file='tiki-mytiki_bar.tpl'} {if $email_ok eq 'n'} {remarksbox type="warning" title="{tr}Warning{/tr}"} {tr}You need to set your email to receive email notifications.{/tr} {icon name="next"} {/remarksbox} {/if} {tabset name="user_watches"} {if $prefs.feature_daily_report_watches eq 'y'} {tab name="{tr}Report Preferences{/tr}"}

{tr}Report Preferences{/tr}

{remarksbox type="tip" title="{tr}Tip{/tr}"}{tr}Use reports to summarise notifications about objects you are watching.{/tr}{/remarksbox}
{ticket}
{tr}Short report{/tr}
{tr}Detailed report{/tr}
{tr}HTML{/tr}
{tr}Plain text{/tr}
{/tab} {/if} {tab name="{tr}My watches{/tr}"}

{tr}My watches{/tr}

{remarksbox type="tip" title="{tr}Tip{/tr}"}{tr}Use "watches" to monitor wiki pages or other objects.{/tr} {tr}Watch new items by clicking the {icon name='watch'} button on specific pages.{/tr}{/remarksbox} {if $add_options|@count > 0}

{tr}Add Watch{/tr}

{ticket}
{if $prefs.feature_categories eq 'y'}
{/if} {if $prefs.feature_multilingual eq 'y'}
{/if}
{jq} $('#type_selector').change( function() { var type = $(this).val(); $('#lang_list').hide(); $('#categ_list').hide(); if( type == 'wiki_page_in_lang_created' ) { $('#lang_list').show(); } if( type == 'category_changed_in_lang' ) { $('#lang_list').show(); $('#categ_list').show(); } } ).trigger('change'); {/jq} {/if}

{tr}Watches{/tr}

{ticket}
{if $watches} {/if} {foreach item=w from=$watches} {if $watches} {/if} {foreachelse} {norecords _colspan=2} {/foreach}
{select_all checkbox_names='checked[]'} {tr}Event{/tr} {tr}Object{/tr}
{if $w.event eq 'blog_post'} {tr}A user submits a blog post{/tr} {elseif $w.event eq 'forum_post_thread'} {tr}A user posts a forum thread{/tr} {elseif $w.event eq 'forum_post_topic'} {tr}A user posts a forum topic{/tr} {elseif $w.event eq 'wiki_page_changed'} {if $prefs.wiki_watch_comments eq 'y'} {tr}A user edited or commented on a wiki page{/tr} {else} {tr}A user edited a wiki page{/tr} {/if} {elseif isset($w.label)} {$w.label} {/if} ({$w.event}) {tr}{$w.type}:{/tr} {$w.title|escape}
{if $watches}
{tr}Perform action with checked:{/tr}
{/if}
{/tab} {tab name="{tr}Notification Preferences{/tr}"}

{tr}Notification Preferences{/tr}

{remarksbox type="tip" title="{tr}Tip{/tr}"}{tr}Use this form to control notifications about objects you are watching.{/tr}{/remarksbox}
{ticket}

{tr}Send notification when I am the editor{/tr}

{if $prefs.feature_wiki eq 'y'}
{/if} {if $prefs.feature_articles eq 'y'}
{/if} {if $prefs.feature_blogs eq 'y'}
{/if} {if $prefs.feature_trackers eq 'y'}
{/if} {if $prefs.feature_calendar eq 'y'}
{/if}
{if $prefs.feature_categories eq 'y'}
{/if}
{/tab} {/tabset}