@@ -83,4 +83,4 @@ App.Map =
|
|||||||
|
|
||||||
toogleMap: ->
|
toogleMap: ->
|
||||||
$('.map').toggle()
|
$('.map').toggle()
|
||||||
$('.location-map-remove-marker-button').toggle()
|
$('.js-location-map-remove-marker').toggle()
|
||||||
@@ -22,6 +22,7 @@
|
|||||||
// 20. Documents
|
// 20. Documents
|
||||||
// 21. Related content
|
// 21. Related content
|
||||||
// 22. Images
|
// 22. Images
|
||||||
|
// 23. Maps
|
||||||
//
|
//
|
||||||
|
|
||||||
// 01. Global styles
|
// 01. Global styles
|
||||||
@@ -2427,10 +2428,6 @@ table {
|
|||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
padding: $line-height / 2;
|
padding: $line-height / 2;
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
border-top: 1px solid $border;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint(medium) {
|
@include breakpoint(medium) {
|
||||||
|
|
||||||
.score-actions {
|
.score-actions {
|
||||||
@@ -2439,6 +2436,10 @@ table {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
border-top: 1px solid $border;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: #f9f9f9;
|
background: #f9f9f9;
|
||||||
|
|
||||||
@@ -2478,8 +2479,8 @@ table {
|
|||||||
position: relative;
|
position: relative;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
&.score-positive:before,
|
&.score-positive::before,
|
||||||
&.score-negative:before {
|
&.score-negative::before {
|
||||||
font-family: 'icons';
|
font-family: 'icons';
|
||||||
left: 0;
|
left: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -2488,7 +2489,7 @@ table {
|
|||||||
&.score-positive {
|
&.score-positive {
|
||||||
color: $color-success;
|
color: $color-success;
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
color: $color-success;
|
color: $color-success;
|
||||||
content: '\6c';
|
content: '\6c';
|
||||||
}
|
}
|
||||||
@@ -2497,7 +2498,7 @@ table {
|
|||||||
&.score-negative {
|
&.score-negative {
|
||||||
color: $color-alert;
|
color: $color-alert;
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
color: $color-alert;
|
color: $color-alert;
|
||||||
content: '\76';
|
content: '\76';
|
||||||
}
|
}
|
||||||
@@ -2511,3 +2512,28 @@ table {
|
|||||||
.images .button {
|
.images .button {
|
||||||
margin-top: $line-height / 2;
|
margin-top: $line-height / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 23. Maps
|
||||||
|
// -----------------
|
||||||
|
|
||||||
|
.location-map-remove-marker {
|
||||||
|
border-bottom: 1px dotted #cf2a0e;
|
||||||
|
color: $delete;
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: $line-height / 2;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:active,
|
||||||
|
&:focus {
|
||||||
|
border-bottom: 1px solid #cf2a0e;
|
||||||
|
color: #cf2a0e;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-bar a {
|
||||||
|
|
||||||
|
&.leaflet-disabled {
|
||||||
|
color: #525252 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -339,6 +339,7 @@
|
|||||||
.topic-show,
|
.topic-show,
|
||||||
.milestone-content {
|
.milestone-content {
|
||||||
|
|
||||||
|
h1,
|
||||||
p {
|
p {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,11 +34,11 @@ module MapLocationsHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
def map_location_remove_marker(map_location, text)
|
def map_location_remove_marker(map_location, text)
|
||||||
content_tag :div, class: "text-right" do
|
content_tag :div, class: "margin-bottom" do
|
||||||
content_tag :a,
|
content_tag :a,
|
||||||
id: map_location_remove_marker_link_id(map_location),
|
id: map_location_remove_marker_link_id(map_location),
|
||||||
href: "#",
|
href: "#",
|
||||||
class: "location-map-remove-marker-button delete" do
|
class: "js-location-map-remove-marker location-map-remove-marker" do
|
||||||
text
|
text
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<% if @investments.any? %>
|
<% if @investments.any? %>
|
||||||
<h3 class="inline-block"><%= page_entries_info @investments %></h3>
|
<h3 class="inline-block"><%= page_entries_info @investments %></h3>
|
||||||
<table>
|
<table class="table-for-mobile">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= t("admin.budget_investments.index.table_id") %></th>
|
<th><%= t("admin.budget_investments.index.table_id") %></th>
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ en:
|
|||||||
heading_id: "Heading"
|
heading_id: "Heading"
|
||||||
title: "Title"
|
title: "Title"
|
||||||
location: "Location"
|
location: "Location"
|
||||||
organization_name: "If you are proposing in the name of a collective/organization, write its name"
|
organization_name: "If you are proposing in the name of a collective/organization, or on behalf of more people, write its name"
|
||||||
image: "Proposal descriptive image"
|
image: "Proposal descriptive image"
|
||||||
image_title: "Image title"
|
image_title: "Image title"
|
||||||
budget/investment/milestone:
|
budget/investment/milestone:
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ en:
|
|||||||
unfeasibility_explanation: Unfeasibility explanation
|
unfeasibility_explanation: Unfeasibility explanation
|
||||||
code_html: 'Investment project code: <strong>%{code}</strong>'
|
code_html: 'Investment project code: <strong>%{code}</strong>'
|
||||||
location_html: 'Location: <strong>%{location}</strong>'
|
location_html: 'Location: <strong>%{location}</strong>'
|
||||||
organization_name_html: 'Organization: <strong>%{name}</strong>'
|
organization_name_html: 'Proposed on behalf of: <strong>%{name}</strong>'
|
||||||
share: Share
|
share: Share
|
||||||
title: Investment project
|
title: Investment project
|
||||||
supports: Supports
|
supports: Supports
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ es:
|
|||||||
external_url: "Enlace a documentación adicional"
|
external_url: "Enlace a documentación adicional"
|
||||||
location: "Ubicación"
|
location: "Ubicación"
|
||||||
administrator_id: "Administrador"
|
administrator_id: "Administrador"
|
||||||
organization_name: "Si estás proponiendo en nombre de una organización o colectivo, escribe su nombre"
|
organization_name: "Si estás proponiendo en nombre de una organización o colectivo, o en nombre de más gente, escribe su nombre"
|
||||||
image: "Imagen descriptiva de la propuesta de inversión"
|
image: "Imagen descriptiva de la propuesta de inversión"
|
||||||
image_title: "Título de la imagen"
|
image_title: "Título de la imagen"
|
||||||
budget/heading:
|
budget/heading:
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ es:
|
|||||||
tags_placeholder: "Escribe las etiquetas que desees separadas por una coma (',')"
|
tags_placeholder: "Escribe las etiquetas que desees separadas por una coma (',')"
|
||||||
map_location: "Ubicación en el mapa"
|
map_location: "Ubicación en el mapa"
|
||||||
map_location_instructions: "Navega por el mapa hasta la ubicación y coloca el marcador."
|
map_location_instructions: "Navega por el mapa hasta la ubicación y coloca el marcador."
|
||||||
map_remove_marker: "Eliminar el marcador"
|
map_remove_marker: "Eliminar marcador en el mapa"
|
||||||
location: "Información adicional de la ubicación"
|
location: "Información adicional de la ubicación"
|
||||||
index:
|
index:
|
||||||
title: Presupuestos participativos
|
title: Presupuestos participativos
|
||||||
@@ -104,7 +104,7 @@ es:
|
|||||||
unfeasibility_explanation: Informe de inviabilidad
|
unfeasibility_explanation: Informe de inviabilidad
|
||||||
code_html: 'Código propuesta de gasto: <strong>%{code}</strong>'
|
code_html: 'Código propuesta de gasto: <strong>%{code}</strong>'
|
||||||
location_html: 'Ubicación: <strong>%{location}</strong>'
|
location_html: 'Ubicación: <strong>%{location}</strong>'
|
||||||
organization_name_html: 'Organización: <strong>%{name}</strong>'
|
organization_name_html: 'Propuesto en nombre de: <strong>%{name}</strong>'
|
||||||
share: Compartir
|
share: Compartir
|
||||||
title: Proyecto de inversión
|
title: Proyecto de inversión
|
||||||
supports: Apoyos
|
supports: Apoyos
|
||||||
|
|||||||
@@ -338,7 +338,7 @@ es:
|
|||||||
tags_placeholder: "Escribe las etiquetas que desees separadas por una coma (',')"
|
tags_placeholder: "Escribe las etiquetas que desees separadas por una coma (',')"
|
||||||
map_location: "Ubicación en el mapa"
|
map_location: "Ubicación en el mapa"
|
||||||
map_location_instructions: "Navega por el mapa hasta la ubicación y coloca el marcador."
|
map_location_instructions: "Navega por el mapa hasta la ubicación y coloca el marcador."
|
||||||
map_remove_marker: "Eliminar el marcador"
|
map_remove_marker: "Eliminar marcador en el mapa"
|
||||||
map_skip_checkbox: "Esta propuesta no tiene una ubicación concreta o no la conozco."
|
map_skip_checkbox: "Esta propuesta no tiene una ubicación concreta o no la conozco."
|
||||||
index:
|
index:
|
||||||
featured_proposals: Destacadas
|
featured_proposals: Destacadas
|
||||||
|
|||||||
Reference in New Issue
Block a user