-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata - Add WFS link if the user has enough rights #5305
base: master
Are you sure you want to change the base?
Conversation
fef7b65
to
991c476
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a quick review for now.
I can come after to move the lizmap/www/assets/js/admin/copy_to_clipboard.js
into the "public" assets and add the button ? Usually, opening the GetCapabilities is not what people want, they just want to copy/paste. (or having the URL in a <pre></pre>
)
@@ -54,12 +54,17 @@ | |||
<dd><small class="bbox">{$WMSExtent}</small></dd> | |||
<br/> | |||
|
|||
{ifacl2 'lizmap.tools.displayGetCapabilitiesLinks'} | |||
{if $wmsGetCapabilitiesUrl} | |||
<dt>{@view~map.metadata.properties.wmsGetCapabilitiesUrl@}</dt> | |||
<dd><small><a href="{$wmsGetCapabilitiesUrl}" target="_blank">WMS Url</a></small></dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<dd><small><a href="{$wmsGetCapabilitiesUrl}" target="_blank">WMS Url</a></small></dd> | |
<dd><small><a href="{$wmsGetCapabilitiesUrl}" target="_blank">WMS URL</a></small></dd> |
{if $wmsGetCapabilitiesUrl} | ||
<dt>{@view~map.metadata.properties.wmsGetCapabilitiesUrl@}</dt> | ||
<dd><small><a href="{$wmsGetCapabilitiesUrl}" target="_blank">WMS Url</a></small></dd> | ||
<dd><small><a id="metadata-wmts-getcapabilities-url" href="{$wmtsGetCapabilitiesUrl}" target="_blank">WMTS Url</a></small></dd> | ||
{ifacl2 'lizmap.tools.layer.export'} | ||
<dd><small><a href="{$wfsGetCapabilitiesUrl}" target="_blank">WFS Url</a></small></dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<dd><small><a href="{$wfsGetCapabilitiesUrl}" target="_blank">WFS Url</a></small></dd> | |
<dd><small><a href="{$wfsGetCapabilitiesUrl}" target="_blank">WFS URL</a></small></dd> |
Ticket : #
Funded by