Skip to content
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

UX - Provide a HTTP link about the main plugin homepage/help #4809

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lizmap/modules/admin/locales/en_US/admin.UTF-8.properties
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ server.information.qgis.plugins=Plugins
server.information.qgis.plugins.version=Version number
server.information.qgis.plugin=Plugin
server.information.qgis.plugin.version=Version
server.information.qgis.plugin.help=Help

server.information.qgis.test.ok=QGIS Server is correctly installed and returns the expected response for OGC requests.
server.information.qgis.test.error=QGIS Server is not correctly installed in your server or the URL for OGC requests given in Lizmap configuration is not correct.
Expand Down
9 changes: 7 additions & 2 deletions lizmap/modules/admin/templates/server_information.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<td><a href="https://github.com/qgis/QGIS/commit/{$data['qgis_server_info']['metadata']['commit_id']}" target="_blank">{$data['qgis_server_info']['metadata']['commit_id']}</a></td>
</tr>
<tr>
<th>Py-QGIS-Server</th>
<th>Py-QGIS-Server <a href="https://docs.3liz.org/py-qgis-server" target="_blank"><span class='badge rounded-pill bg-secondary'>{@admin.server.information.qgis.plugin.help@}</span></a></th>
<td>
{if $data['qgis_server_info']['py_qgis_server']['found']}
{if $data['qgis_server_info']['py_qgis_server']['stable']}
Expand Down Expand Up @@ -146,7 +146,12 @@
<tr>
{if $version['name']}
{* Fixed in lizmap_server plugin 1.3.2 https://github.com/3liz/qgis-lizmap-server-plugin/commit/eb6a773ba035f877e9fa91db5ef87911a2648ee1 *}
<th style="width:20%;">{$version['name']}</th>
<th style="width:20%;">
{$version['name']}
{if $version['homepage']}
<a href="{$version['homepage']}" target="_blank"><span class='badge rounded-pill bg-secondary'>{@admin.server.information.qgis.plugin.help@}</span></a>
{/if}
</th>
{else}
<th style="width:20%;">{$name}</th>
{/if}
Expand Down
Loading