Skip to content

Commit

Permalink
Merge pull request #4773 from Gustry/plugin-help
Browse files Browse the repository at this point in the history
UX - Provide a HTTP link about the main plugin homepage/help
  • Loading branch information
Gustry authored Sep 30, 2024
2 parents f361033 + 1237fba commit ea29ab5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
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

0 comments on commit ea29ab5

Please sign in to comment.