Skip to content

Commit

Permalink
Fix #115
Browse files Browse the repository at this point in the history
  • Loading branch information
alisovenko committed Dec 19, 2016
1 parent aaa9e28 commit af4db32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/metadata.txt
Expand Up @@ -2,7 +2,7 @@
name=QuickMapServices
qgisMinimumVersion=2.4
description=Collection of easy to add basemaps
version=0.17.14
version=0.18
author=NextGIS
email=info@nextgis.com
about=Convenient list of services + search for finding datasets and basemaps. Please contribute new services via http://qms.nextgis.com!
Expand Down
9 changes: 4 additions & 5 deletions src/qms_service_toolbox.py
Expand Up @@ -222,15 +222,14 @@ def __init__(self, geoservice, image_ba, parent=None):

# geoservice_info = client.get_geoservice_info(geoservice)
# ds = DataSourceSerializer.read_from_json(geoservice_info)
# print "ds.icon: ", ds.icon
# print "ds.icon_path: ", ds.icon_path

self.service_desc.setText(
"<strong> {} </strong><div style=\"margin-top: 3px\">{}, <a href=\"{}\">details<a/><div/>".format(
u"<strong> {} </strong><div style=\"margin-top: 3px\">{}, <a href=\"{}\">details<a/><div/>".format(
# "{}<div style=\"margin-top: 3px\"> <em> {} </em>, <a href=\"{}\"> details <a/> <div/>".format(
geoservice.get('name', ""),
geoservice.get('type', "").upper(),
Client().geoservice_info_url(geoservice.get('id', ""))
geoservice.get('name', u""),
geoservice.get('type', u"").upper(),
Client().geoservice_info_url(geoservice.get('id', u""))
)
)
self.layout.addWidget(self.service_desc)
Expand Down

0 comments on commit af4db32

Please sign in to comment.