Skip to content

Commit

Permalink
Merge pull request #11231 from camptocamp/rm-dupplicated
Browse files Browse the repository at this point in the history
Fix the admin descriptions about the COG
  • Loading branch information
sbrunner authored Jul 10, 2024
2 parents 80e9194 + e71b57f commit 0432d5f
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions commons/c2cgeoportal_commons/models/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,8 @@ class LayerCOG(Layer):
_(
"""
<div class="help-block">
<p>Definition of a <code>COG Layer</code>.</p>
<p>Definition of a <code>COG Layer</code> (COG for
<a href="https://www.cogeo.org/">Cloud Optimized GeoTIFF</a>).</p>
<p>Note: The layers named <code>cog-defaults</code> contains the values
used when we create a new <code>COG layer</code>.</p>
</div>
Expand All @@ -1246,18 +1247,7 @@ class LayerCOG(Layer):
info={
"colanderalchemy": {
"title": _("URL"),
"description": c2cgeoportal_commons.lib.literal.Literal(
_(
"""
<div class="help-block">
<p>Definition of a <code>COG Layer</code>.</p>
<p>Note: The layers named <code>cog-defaults</code> contains the values
used when we create a new <code>COG layer</code>.</p>
<hr>
</div>
"""
)
),
"description": _("URL of the COG file."),
"column": 2,
}
},
Expand Down

0 comments on commit 0432d5f

Please sign in to comment.