Commit 6661905753260bb83a3906b189366f09c49cff28
1 parent
0d32474f
New template for subscription download notifications
Committed By: Kevin Cyster Reviewed By: Megan Watson
Showing
1 changed file
with
27 additions
and
0 deletions
templates/kt3/notifications/subscriptions.DownloadDocument.smarty
0 → 100644
| 1 | +<dt class="actionitem subscription">{$info.title|sanitize}</dt> | ||
| 2 | +<dd class="actionmessage"> | ||
| 3 | + | ||
| 4 | +<!-- could break this up. --> | ||
| 5 | + {i18n arg_object_name=$info.object_name|sanitize}The document "#object_name#" {/i18n}{if ($info.location_name !== null)} {i18n arg_location_name=$info.location_name}in the folder "#location_name#" has been downloaded {/i18n}{/if}{if ($info.has_actor)} {i18n arg_actor_name=$info.actor_name}by #actor_name#{/i18n}{/if}. | ||
| 6 | + <div class="actionoptions"> | ||
| 7 | + <div style="float:left; position: relative;"> | ||
| 8 | + {if !$is_broken} | ||
| 9 | + <a href="{ktLink base="notify.php" query="id=`$info.notify_id`"}">{i18n}View Document{/i18n}</a> | ||
| 10 | + {else} | ||
| 11 | + <span class="descriptiveText">{i18n}Document is no longer available{/i18n}</span> | ||
| 12 | + {/if} | ||
| 13 | + | ||
| 14 | + | | ||
| 15 | + | ||
| 16 | + </div> | ||
| 17 | + <div> | ||
| 18 | + | ||
| 19 | + <a href="{ktLink base="notify.php" query="id=`$info.notify_id`¬ify_action=clear"}" | ||
| 20 | + kt:deleteMessage="{i18n}Are you sure you wish to clear the notification?{/i18n}"> | ||
| 21 | + <span class="ktAction ktInline ktDelete"></span>{i18n}Clear Alert{/i18n} | ||
| 22 | + | ||
| 23 | + </a> | ||
| 24 | + | ||
| 25 | + </div> | ||
| 26 | + </div> | ||
| 27 | +</dd> |