Commit e132bb3867a5f080f69efe668f1d806a6a52892c
1 parent
4573cabb
Exists in
master
Removido links para voltar a versão antiga do cadastro de alunos
Showing
2 changed files
with
4 additions
and
20 deletions
Show diff stats
ieducar/modules/Cadastro/Assets/Javascripts/Aluno.js
... | ... | @@ -227,28 +227,12 @@ function afterChangePessoa(targetWindow, pessoaId) { |
227 | 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 | 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 | 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 | 237 | }); // ready |
254 | 238 | })(jQuery); |
255 | 239 | \ No newline at end of file | ... | ... |
ieducar/modules/Portabilis/Assets/Version.php