Skip to content

Commit

Permalink
help docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SteadyCadence committed Jul 13, 2017
1 parent 6385840 commit f78bc40
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 271 deletions.
5 changes: 2 additions & 3 deletions cadasta/gui/tools/helper/content/cadasta_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ def content():
message = m.Message()

message.add(m.Paragraph(tr(
'The Cadasta QGIS Plugin is a tool for retrieving, editing and publishing data. '
'You can find updated documentation and suggested workflows on our main '
'documentation pages: <a href="https://docs.cadasta.org/en/11-qgis-plugin.html">QGIS chapter</a>.')))
'documentation pages: <a href="https://docs.cadasta.org/en/11-qgis-plugin.html">QGIS chapter</a>. (requires internet access to view)')))
message.add(m.Paragraph(tr(
'There are three windows that will help you '
'to manage your project\'s data.')))
Expand All @@ -65,6 +64,6 @@ def content():
message.add(bullets)

message.add(m.Paragraph(tr(
'Use the "User Settings" window to log in to your account and get started!'
'Use the <b>User Settings</b> window to log in to your account and get started!'
'')))
return message
81 changes: 0 additions & 81 deletions cadasta/gui/tools/helper/content/create_project_help.py

This file was deleted.

79 changes: 0 additions & 79 deletions cadasta/gui/tools/helper/content/download_project_help.py

This file was deleted.

81 changes: 0 additions & 81 deletions cadasta/gui/tools/helper/content/options_help.py

This file was deleted.

35 changes: 8 additions & 27 deletions cadasta/gui/tools/helper/helper_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@
from PyQt4.QtGui import QDialog

from cadasta.gui.tools.helper.content.cadasta_help import cadasta_help
from cadasta.gui.tools.helper.content.options_help import options_help
from cadasta.gui.tools.helper.content.download_project_help import (
download_project_help
)
from cadasta.gui.tools.helper.content.create_project_help import (
create_project_help
)
from cadasta.utilities.i18n import tr
# from cadasta.gui.tools.helper.content.options_help import options_help
# from cadasta.gui.tools.helper.content.download_project_help import (
# download_project_help
# )
# from cadasta.gui.tools.helper.content.create_project_help import (
# create_project_help
# )
from cadasta.utilities.resources import html_header, html_footer, get_ui_class
from extras import messaging as m

Expand Down Expand Up @@ -54,7 +53,7 @@ def __init__(self, parent=None, iface=None):
"""
QDialog.__init__(self, parent)
self.setupUi(self)
self.setWindowTitle('Cadasta Helper')
self.setWindowTitle('Cadasta Help')
self.iface = iface
self.close_button.clicked.connect(self.close)
# set the helpers
Expand All @@ -78,24 +77,6 @@ def show_cadasta_help(self):
# 3. Update Project
message = cadasta_help()
string += message.to_html()

message = download_project_help()
string += message.to_html()

message = create_project_help()
string += message.to_html()

# create other helper
# 1. Options
# 2. Contact

message = m.Message()
message.add(m.Paragraph(tr(
'There are another dialogs, which are:')))
string += message.to_html()

message = options_help()
string += message.to_html()
string += footer

self.help_web_view.setHtml(string)

0 comments on commit f78bc40

Please sign in to comment.