BUG-14187 El search dentro de la vista mobile... SOLVED

- String no format valid in smarty.
- Add format in file appListSearch.html
This commit is contained in:
Marco Antonio Nina
2014-05-08 16:24:59 -04:00
parent 186412ebfd
commit 43b96857fe
2 changed files with 21 additions and 21 deletions

View File

@@ -78,7 +78,7 @@
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007eb5', endColorstr='#003d5a',GradientType=0 ); /* IE6-9 */
}
</style>
<script>
<script type="text/javascript" language="javascript" >
function resize()
{
var h = $(document.body).height() - 52;
@@ -150,10 +150,10 @@
height:192,
modal: true,
buttons: {
"Add Note": function() {
{/literal}"{translate label="ID_ADD_NOTE"}"{literal}: function() {
var sendMail = document.getElementById('chkSendMail').checked;
sendMail = (sendMail == true) ? '1' : '0';
$(this).dialog("close");
$(this).dialog( "close" );
$.post(
'../appProxy/postNote',
{appUid : appUid,
@@ -165,8 +165,8 @@
);
//redirect('home/startCase?id='+id);
},
Cancel: function() {
$(this).dialog( "close" );
{/literal}"{translate label="ID_CANCEL"}"{literal}: function() {
$(this).dialog("close");
}
}
});
@@ -219,7 +219,7 @@
'</td><td>' +
'<h3>'+r.USR_FIRSTNAME+' '+r.USR_LASTNAME+' ('+r.USR_USERNAME+')</h3>' +
'<p><pre>'+r.NOTE_CONTENT+'</pre>' +
'<div class="appMessageDate">Posted at '+r.NOTE_DATE+'</div>' +
'<div class="appMessageDate">{translate label="ID_POSTED_AT"} '+r.NOTE_DATE+'</div>' +
'</td></tr></table></div>';
content.append(s);
@@ -242,10 +242,10 @@
if(jQuery.trim(html) != ''){
$("#commentlist").append(html);
$('#loadmorebutton').html('Load More');
$('#loadmorebutton').html('{/literal}"{translate label="ID_LOAD_MORE"}"{literal}');
}
else {
$('#loadmorebutton').replaceWith('<center>No more applications to show.</center>');
$('#loadmorebutton').replaceWith('<center>{/literal}"{translate label="ID_NO_MORE_APPLICATIONS"}"{literal}</center>');
}
}
});
@@ -354,19 +354,19 @@
{if $cases_count > $appListLimit}
<center>
<a href="#" style="color:#1F98C7; font-size:12px; font-weight:bold;" id="loadmorebutton">Load More</a>
<a href="#" style="color:#1F98C7; font-size:12px; font-weight:bold;" id="loadmorebutton">{translate label="ID_LOAD_MORE"}</a>
</center>
{/if}
</div>
</center>
<div id="dialog-add-note" title="Case Note" style="display:none">
<div id="dialog-add-note" title="{translate label="ID_CASE_NOTE"}" style="display:none">
<p><!-- <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span> -->
<span id="startAppTitle"/>
<textarea id="note_text" rows="2" cols="22"></textarea>
<div class="x-form-check-wrap" id="ext-gen160" style="font-size:11px">
<input type="checkbox" name="chkSendMail" id="chkSendMail" autocomplete="off" class=" x-form-checkbox x-form-field" checked="">
<label class="x-form-cb-label" for="chkSendMail" id="ext-gen161">Send email (Case Participants)</label>
<label class="x-form-cb-label" for="chkSendMail" id="ext-gen161">{translate label="ID_SEND_EMAIL_CASE_PARTICIPANTS"}</label>
</div>
</p>
</div>

View File

@@ -78,7 +78,7 @@
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007eb5', endColorstr='#003d5a',GradientType=0 ); /* IE6-9 */
}
</style>
<script>
<script type="text/javascript" language="javascript" >
function resize()
{
var h = $(document.body).height() - 52;
@@ -242,10 +242,10 @@
if(jQuery.trim(html) != ''){
$("#commentlist").append(html);
$('#loadmorebutton').html( {/literal}"{translate label="ID_LOAD_MORE"}"{literal} );
$('#loadmorebutton').html('{/literal}"{translate label="ID_LOAD_MORE"}"{literal}');
}
else {
$('#loadmorebutton').replaceWith(<center>{/literal}"{translate label="ID_NO_MORE_APPLICATIONS"}"{literal}</center>);
$('#loadmorebutton').replaceWith('<center>{/literal}"{translate label="ID_NO_MORE_APPLICATIONS"}"{literal}</center>');
}
}
});