~eventum-developers/eventum/trunk

« back to all changes in this revision

Viewing changes to templates/notes.tpl.html

  • Committer: Elan Ruusamäe
  • Date: 2015-04-03 17:16:08 UTC
  • Revision ID: glen@delfi.ee-20150403171608-u41tcmt49uayv0g4
discard {literal} from templates

it is rarely needed in Smarty3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{literal}
 
1
 
2
2
<script type="text/javascript">
3
3
<!--
4
4
function deleteNote(note_id)
5
5
{
6
 
    if (!confirm('{/literal}{t escape=js}This action will permanently delete the specified note.{/t}{literal}')) {
 
6
    if (!confirm('{t escape=js}This action will permanently delete the specified note.{/t}')) {
7
7
        return false;
8
8
    }
9
9
 
13
13
}
14
14
function convertNote(note_id)
15
15
{
16
 
    if (!confirm('{/literal}{t escape=js}This note will be deleted & converted to an email, one either sent immediately or saved as a draft.{/t}{literal}')) {
 
16
    if (!confirm('{t escape=js}This note will be deleted & converted to an email, one either sent immediately or saved as a draft.{/t}')) {
17
17
        return false;
18
18
    }
19
19
 
41
41
}
42
42
//-->
43
43
</script>
44
 
{/literal}
 
44
 
45
45
<form name="add_note_form" target="_notes" method="post">
46
46
<div class="issue_section bordered internal" id="internal_notes">
47
47
    <div class="title">