~eventum-developers/eventum/trunk

« back to all changes in this revision

Viewing changes to templates/manage/round_robin.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:
4
4
<script type="text/javascript">
5
5
<!--
6
6
var url = '{$smarty.server.PHP_SELF}';
7
 
{literal}
 
7
 
8
8
function populateUserComboBox()
9
9
{
10
10
  url += '?prj_id=' + Eventum.getField('project').val();
13
13
function validateForm()
14
14
{
15
15
  if (!Validation.hasOneSelected('users[]')) {
16
 
      alert('{/literal}{t escape=js}Please assign the appropriate users for this round robin entry.{/t}{literal}');
 
16
      alert('{t escape=js}Please assign the appropriate users for this round robin entry.{/t}');
17
17
      Validation.selectField('users[]');
18
18
      return false;
19
19
  }
22
22
function checkDelete()
23
23
{
24
24
  if (!Validation.hasOneChecked('items[]')) {
25
 
      alert('{/literal}{t escape=js}Please select at least one of the round robin entries.{/t}{literal}');
 
25
      alert('{t escape=js}Please select at least one of the round robin entries.{/t}');
26
26
      return false;
27
27
  }
28
 
  if (!confirm('{/literal}{t escape=js}This action will permanently remove the selected round robin entries.{/t}{literal}')) {
 
28
  if (!confirm('{t escape=js}This action will permanently remove the selected round robin entries.{/t}')) {
29
29
      return false;
30
30
  } else {
31
31
      return true;
41
41
  });
42
42
//-->
43
43
</script>
44
 
{/literal}
 
44
 
45
45
<form id="round_robin_form"  method="post">
46
46
{if $smarty.get.cat|default:'' == 'edit'}
47
47
<input type="hidden" name="cat" value="update">