Commit e132bb3867a5f080f69efe668f1d806a6a52892c

Authored by Lucas D'Avila
1 parent 4573cabb
Exists in master

Removido links para voltar a versão antiga do cadastro de alunos

ieducar/modules/Cadastro/Assets/Javascripts/Aluno.js
@@ -227,28 +227,12 @@ function afterChangePessoa(targetWindow, pessoaId) { @@ -227,28 +227,12 @@ function afterChangePessoa(targetWindow, pessoaId) {
227 $j('#tipo_responsavel').change(checkTipoResponsavel); 227 $j('#tipo_responsavel').change(checkTipoResponsavel);
228 228
229 229
230 - // back to old version  
231 -  
232 - var backToOldVersion = function() {  
233 - var $this = $j(this);  
234 - var url = '/intranet/educar_aluno_cad.php';  
235 -  
236 - if(resource.id())  
237 - url += '?cod_aluno=' + resource.id();  
238 -  
239 - $this.attr('href', url);  
240 - } 230 + var msg = 'Bem vindo ao novo cadastro de alunos,<br />' +
  231 + '<b>Duvidas?</b> Entre em contato com o suporte.';
241 232
242 $j('<p>').addClass('back-to-old-version right-top-notice notice') 233 $j('<p>').addClass('back-to-old-version right-top-notice notice')
243 - .html(stringUtils.toUtf8('Você está acessando o <b>novo cadastro de alunos</b>,<br />')) 234 + .html(stringUtils.toUtf8(msg))
244 .appendTo($j('#id').closest('td')); 235 .appendTo($j('#id').closest('td'));
245 236
246 - $j('<a>').attr('href', '#')  
247 - .attr('target', '_blank')  
248 - .click(backToOldVersion)  
249 - .addClass('decorated')  
250 - .html(stringUtils.toUtf8('acessar versão antiga.'))  
251 - .appendTo($j('.back-to-old-version'));  
252 -  
253 }); // ready 237 }); // ready
254 })(jQuery); 238 })(jQuery);
255 \ No newline at end of file 239 \ No newline at end of file
ieducar/modules/Portabilis/Assets/Version.php
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 usado pelo metodos loadJavascript e loadStylesheet do helper Portabilis_View_Helper_Application */ 4 usado pelo metodos loadJavascript e loadStylesheet do helper Portabilis_View_Helper_Application */
5 5
6 class Portabilis_Assets_Version { 6 class Portabilis_Assets_Version {
7 - const VERSION = "0_0_0_1005"; 7 + const VERSION = "0_0_0_1006";
8 } 8 }
9 9
10 ?> 10 ?>