Skip to content

Commit

Permalink
Merge pull request #419 from PEM-Humboldt/hotfix/2.8.8
Browse files Browse the repository at this point in the history
Hotfix/2.8.8
  • Loading branch information
ManuelStardust authored Feb 22, 2024
2 parents 1216a36 + 82f42ba commit 977ee6c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BioModelos v2.8.7
# BioModelos v2.8.8

[BioModelos](http://biomodelos.humboldt.org.co) is a web app that facilitates the generation, validation and consultation of hypothesis of species distribution for the continental biodiversity of Colombia. As such, it provides tools to (1) improve existing species distribution models (SDMs) by integrating expert's opinion, (2) generate expert maps and (3) publish SDMs. Our objective is to provide freely and openly access to the most up to date information on species distributions, validated by a large network of researchers, to support national environmental decision making processes and research.

Expand Down
4 changes: 2 additions & 2 deletions app/views/administrators_mailer/group_suggested.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ h3 span {

Hora de recepción: <%= @datetime.strftime("%F %r") %><br/>
<br/>
Usuario: <b><a href="biomodelos.humboldt.org.co/users/<%= @user.id %>"><%= @user.name %></a></b><br/>
Usuario: <b><%= link_to @user.name, user_path(id: @user.id) %></b><br/>
E-Mail: <b><%= @user.email %></b><br/>
Nombre del grupo: <b><%= @new_group.name %></b><br/>
Posible moderador: <b><%= @new_group.moderator %></b><br/>
Descripción del grupo: <b><%= @new_group.content %></b><br/>
</div>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion app/views/species/_species_info.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<script>
var clipboard = new Clipboard('.urllink', {
text: function() {
return 'http://biomodelos.humboldt.org.co/species/visor?species_id=' + $("#species_id_field").val();
return '<%= url_for controller: 'species', action: 'visor', only_path: false %>?species_id=' + $("#species_id_field").val();
}
});
</script>
Expand Down
2 changes: 1 addition & 1 deletion app/views/species/_species_models.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
</div> -->
<script type="text/javascript">
/* Rating */
var raty_icon_path = "http://biomodelos.humboldt.org.co/assets/raty/lib/images";
var raty_icon_path = "/assets/raty/lib/images";
$('.user_star').raty({
path: raty_icon_path,
hints: ['<%= t('biomodelos.visor.hypotheses.rating_0_hint') %>', '<%= t('biomodelos.visor.hypotheses.rating_1_hint') %>', '<%= t('biomodelos.visor.hypotheses.rating_2_hint') %>', '<%= t('biomodelos.visor.hypotheses.rating_3_hint') %>', '<%= t('biomodelos.visor.hypotheses.rating_4_hint') %>'],
Expand Down
4 changes: 2 additions & 2 deletions config/locales/biomodelos.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ en:
publish:
title: "Publish your map"
text_1: "To publish a distribution model in BioModelos, follow the next steps"
step_1_html: Read the <a href="http://biomodelos.humboldt.org.co/publicacion.pdf" target="_blank"> publication guide </a>
step_1_html: Read the <a href="/publicacion.pdf" target="_blank"> publication guide </a>
step_2_1: "Select one"
step_2_2: "CC user license"
step_2_3: "for models"
Expand All @@ -477,7 +477,7 @@ en:
sib_col_data: "Do you want to be contacted by SiB Colombia for the publication of your data set?"
sib_col_yes: "Yes"
sib_col_na: "Not applicable"
step_4_html: '<a href="http://biomodelos.humboldt.org.co/guia_documentacion_y_plantillas.zip" download>Download</a> and fill in the templates for data and metadata documentation of the models'
step_4_html: '<a href="/guia_documentacion_y_plantillas.zip" download>Download</a> and fill in the templates for data and metadata documentation of the models'
step_5: "Upload the methodology, the two templates and the models in a compressed file"
select_file_ph: "Select File"
file_notice: "3 types of formats are accepted (zip, rar, 7zip) with a maximum size of 50 MB."
Expand Down
4 changes: 2 additions & 2 deletions config/locales/biomodelos.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ es:
publish:
title: "Publica tu mapa"
text_1: "Para publicar un modelo de distribución en BioModelos, sigue los siguientes pasos"
step_1_html: Lee la <a href="http://biomodelos.humboldt.org.co/publicacion.pdf" target="_blank">guía de publicación</a>
step_1_html: Lee la <a href="/publicacion.pdf" target="_blank">guía de publicación</a>
step_2_1: "Selecciona una"
step_2_2: "licencia de uso CC"
step_2_3: "para los modelos"
Expand All @@ -477,7 +477,7 @@ es:
sib_col_data: "¿Deseas ser contactado por el SiB Colombia para la publicación de tu conjunto de datos?"
sib_col_yes: ""
sib_col_na: "No aplica"
step_4_html: '<a href="http://biomodelos.humboldt.org.co/guia_documentacion_y_plantillas.zip" download>Descarga</a> y llena las plantillas para documentación de datos y metadatos de los modelos'
step_4_html: '<a href="/guia_documentacion_y_plantillas.zip" download>Descarga</a> y llena las plantillas para documentación de datos y metadatos de los modelos'
step_5: "Sube en un archivo comprimido la metodología, las dos plantillas y los modelos"
select_file_ph: "Seleccionar Archivo"
file_notice: "Se aceptan 3 tipos de formatos (zip, rar, 7zip) con un tamaño máximo de 50 MB."
Expand Down

0 comments on commit 977ee6c

Please sign in to comment.