Skip to content

Commit

Permalink
Fix remarks. Add links
Browse files Browse the repository at this point in the history
  • Loading branch information
taitus committed Dec 18, 2017
1 parent cf5b579 commit 8942ee4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/controllers/events_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def event_params
params.require(:event).permit(:title, :description, :location, :scheduled, :position_id, :search_title, :search_person,
:lobby_activity, :notes, :status, :reasons, :published_at, :cancel, :decline, :declined_reasons,:organization_id,
:organization_name, :lobby_scheduled, :general_remarks, :lobby_contact_firstname,
:lobby_contact_lastname, :lobby_contact_phone, :lobby_contact_email, :lobby_general_remarks,
:lobby_contact_lastname, :lobby_contact_phone, :lobby_contact_email, :manager_general_remarks,
event_represented_entities_attributes: [:id, :name, :_destroy],
event_agents_attributes: [:id, :name, :_destroy],
attendees_attributes: [:id, :name, :position, :company, :_destroy],
Expand Down
2 changes: 1 addition & 1 deletion app/views/events/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
<% unless current_user.lobby? %>
<fieldset>
<legend><%= t('backend.lobby_general_remarks_title') %></legend>
<legend><%= t('backend.manager_general_remarks_title') %></legend>
<%= f.text_area :manager_general_remarks, class: 'tinymce' %>
</fieldset>
<% end %>
Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
<%= link_to t('footer.btn_agendas'), visitors_path %>
</li>
<li>
<%= link_to t('footer.btn_registration'), nil %>
<%= link_to t('footer.btn_registration'), registration_lobbies_path %>
</li>
<li>
<%= link_to t('footer.btn_normative'), nil %>
<%= link_to t('footer.btn_normative'), 'https://transparencia.madrid.es/portales/transparencia/es/Informacion-juridica/Huella-normativa?vgnextfmt=default&vgnextchannel=4099508929a56510VgnVCM1000008a4a900aRCRD' %>
</li>

</ul>
Expand Down
2 changes: 1 addition & 1 deletion config/locales/admin.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ es:
meeting_lobby_activity_public_website: "Fecha en la cual el evento se verá en la página web pública"
participants_uniqueness: "Existen titulares de agenda duplicados"
position_not_in_participants: "El titular de agenda se ha incluido también como asistente"
lobby_general_remarks_title: "Observaciones generales Gestor de agendas"
manager_general_remarks_title: "Observaciones generales Gestor de agendas"
position_not_in_participants: "El titular de agenda se ha incluido también como asistente"
attachments: "Archivos adjuntos"
attachments_description: "Descripción de archivos adjuntos"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/admin.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ es:
meeting_lobby_activity_public_website: "Fecha en la cual el evento se verá en la página web pública"
participants_uniqueness: "Existen titulares de agenda duplicados"
position_not_in_participants: "El titular de agenda se ha incluido también como asistente"
lobby_general_remarks_title: "Observaciones generales Gestor de agendas"
manager_general_remarks_title: "Observaciones generales Gestor de agendas"
attachments: "Archivos adjuntos"
attachments_description: "Descripción de archivos adjuntos"
attachments_public: "Archivos adjuntos públicos"
Expand Down

0 comments on commit 8942ee4

Please sign in to comment.