Guest User

Untitled

a guest
Mar 2nd, 2018
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | None | 0 0
  1. From 305a6aeaf9a947ae2272fcdf1e7e87e5c9b31dc7 Mon Sep 17 00:00:00 2001
  2. From: Jose Luis Cambero Contador <cambero@macbook-de-jose-luis-cambero-contador.local>
  3. Date: Fri, 27 Mar 2009 13:17:26 +0100
  4. Subject: [PATCH] commit for merge
  5.  
  6. ---
  7. app/views/admin/employment_techs/index.html.haml | 2 +-
  8. app/views/admin/work_units/_form_tech.html.haml | 40 ----------------------
  9. config/locales/es.yml | 4 ++-
  10. public/stylesheets/all.css | 2 +-
  11. 4 files changed, 5 insertions(+), 43 deletions(-)
  12. delete mode 100644 app/views/admin/work_units/_form_tech.html.haml
  13.  
  14. diff --git a/app/views/admin/employment_techs/index.html.haml b/app/views/admin/employment_techs/index.html.haml
  15. index 05d1f6a..6e7d7e2 100644
  16. --- a/app/views/admin/employment_techs/index.html.haml
  17. +++ b/app/views/admin/employment_techs/index.html.haml
  18. @@ -1,5 +1,5 @@
  19. .content.third
  20. - %h1= t('Index-Employment-Tech')
  21. + %h1= t('ad.employment_techs_of_proyect')
  22. .scroll-admin-webs
  23. %table.table-admin-webs{:cellspacing => "0", :border => "0", :cellpadding => "0"}
  24. %tr
  25. diff --git a/app/views/admin/work_units/_form_tech.html.haml b/app/views/admin/work_units/_form_tech.html.haml
  26. deleted file mode 100644
  27. index 7b18606..0000000
  28. --- a/app/views/admin/work_units/_form_tech.html.haml
  29. +++ /dev/null
  30. @@ -1,40 +0,0 @@
  31. -.project-data
  32. - %h2 Técnico de empleo para esta unidad:
  33. - - fields_for :profile do |p|
  34. - .box.label= p.label :name, t('common.name') +':'
  35. - .box.input= p.text_field :name, :disabled => disabled
  36. - = error_message_on :profile, :name
  37. -
  38. - .box.label= p.label :name, t('common.first_surname') + ':'
  39. - .box.input= p.text_field :first_surname, :disabled => disabled
  40. - = error_message_on :profile, :first_surname
  41. -
  42. - .box.label= p.label :name, t('common.second_surname') + ':'
  43. - .box.input= p.text_field :second_surname, :disabled => disabled
  44. - = error_message_on :profile, :second_surname
  45. -
  46. - .box.label= p.label :name, t('common.nif') + ':' #"NIF:"
  47. - .box.input= p.text_field :nif, :disabled => disabled
  48. - = error_message_on :profile, :nif
  49. -
  50. - .box.label= p.label :name, t('common.mobile_phone') + ':' #"Movil:"
  51. - .box.input= p.text_field :mobile, :disabled => disabled
  52. - = error_message_on :profile, :mobile
  53. -
  54. - - fields_for :user do |u|
  55. - .box.label= u.label :email, t('common.email') + ':' #"Email:"
  56. - .box.input= u.text_field :email, :disabled => disabled
  57. - = error_message_on :user, :email
  58. -
  59. - /.box.label= u.label :login, t('common.user') + ':' #"USER:"
  60. - /.box.input= u.text_field :login, :disabled => disabled
  61. - /= error_message_on :user, :login
  62. -
  63. - .box.label.last= u.label :password, t('common.password') + ':' #"PASSWORD:"
  64. - .box.input.last= text_field :user, :password, :disabled => disabled, :value => random_password(9) unless @user
  65. - = error_message_on :user, :password
  66. -
  67. - .clear
  68. - #password_info.highlight
  69. -
  70. - = f.submit t('et.upload_web'), :class => 'button'
  71. \ No newline at end of file
  72. diff --git a/config/locales/es.yml b/config/locales/es.yml
  73. index 47410a7..65a8731 100755
  74. --- a/config/locales/es.yml
  75. +++ b/config/locales/es.yml
  76. @@ -126,7 +126,7 @@ es: !map
  77. new: Nuevo
  78. create: Crear
  79. change_languaje: Cambiar Idioma
  80. - create_unit_tec_work: Crear Unidad de trabajo y técnico
  81. + create_unit_tec_work: Crear Unidad de trabajo
  82.  
  83. procedure_title: "Procedimiento {{titulo}}"
  84. procedure_body: Cuerpo del Procedimiento
  85. @@ -650,3 +650,5 @@ es: !map
  86. deleted_procedure_ok: Procedimiento eliminado correctamente
  87. deleted_procedure_error: Error al borrar el procedimiento
  88. procedure_proyect: "Procedimientos del proyecto: {{name}}"
  89. + employment_techs_of_proyect: Unidades de trabajo del proyecto
  90. +
  91. \ No newline at end of file
  92. diff --git a/public/stylesheets/all.css b/public/stylesheets/all.css
  93. index fafe52f..e11003e 100644
  94. --- a/public/stylesheets/all.css
  95. +++ b/public/stylesheets/all.css
  96. @@ -1584,7 +1584,7 @@ div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span
  97.  
  98. .project-data {
  99. margin-left:30px;
  100. - width:400px;
  101. + width:600px;
  102. clear:both;
  103. }
  104.  
  105. --
  106. 1.6.1+GitX
Add Comment
Please, Sign In to add comment