Skip to content

Commit

Permalink
Merge pull request #34943 from dimagi/df/fix_broken_links
Browse files Browse the repository at this point in the history
Making links more specific
  • Loading branch information
dreesefadil authored Aug 2, 2024
2 parents bc98517 + d2b85ce commit b7a1b1c
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@

- name: "Auto-Resize Images"
description: "Automatically resizes images within forms. Follow
<a href='https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare'>
<a href='https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare#Auto-Resize-Images-on-Android'>
the instructions here</a> to determine which value to use."
id: "cc-resize-images"
values:
Expand Down Expand Up @@ -298,7 +298,7 @@
- name: "Image Compatibility on Multiple Devices"
description: "When a value is selected, this feature controls the display size of any user-provided image such
that it will be consistent with the size of the original image file, and consistent across devices. Follow
<a href='https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare'>
<a href='https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare#CommCare-Developer-Toolkit-Image-Sizing-with-Multiple-Android-Device-Models'>
the instructions here</a> to determine which value to use."
id: "cc-inflation-target-density"
values:
Expand Down
4 changes: 2 additions & 2 deletions corehq/apps/app_manager/static_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
gettext_noop('Auto-login'),
gettext_noop('Auto-manage URLs'),
gettext_noop('Automatic'),
gettext_noop('Automatically resizes images within forms. Follow <a href=\'https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare\'> the instructions here</a> to determine which value to use.'),
gettext_noop('Automatically resizes images within forms. Follow <a href=\'https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare#Auto-Resize-Images-on-Android\'> the instructions here</a> to determine which value to use.'),
gettext_noop('Automatically trigger a two-way sync on a regular schedule'),
gettext_noop('Basic'),
gettext_noop('Both Hierarchical and Flat Fixture'),
Expand Down Expand Up @@ -203,7 +203,7 @@
gettext_noop('What kind of log transmission the phone should attempt on a daily basis (submitted to PostURL)'),
gettext_noop('What kind of log transmission the phone should attempt on a weekly basis (submitted to PostURL)'),
gettext_noop('What the \'Extra Key\' (# on Nokia Phones) does when pressed'),
gettext_noop('When a value is selected, this feature controls the display size of any user-provided image such that it will be consistent with the size of the original image file, and consistent across devices. Follow <a href=\'https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare\'> the instructions here</a> to determine which value to use.'),
gettext_noop('When a value is selected, this feature controls the display size of any user-provided image such that it will be consistent with the size of the original image file, and consistent across devices. Follow <a href=\'https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare#CommCare-Developer-Toolkit-Image-Sizing-with-Multiple-Android-Device-Models\'> the instructions here</a> to determine which value to use.'),
gettext_noop('When auto-sync is enabled CommCare will attempt to submit forms and synchronize the user\'s data after logging in with the frequency chosen.'),
gettext_noop('When loose media mode is set to yes, CommCare will search for alternative media formats for any media that it cannot play. If CommCare attempts to play a file at jr://file/media/prompt_one.mp3 and mp3 files are not supported, the media directory will be searched for other files named prompt_one with alternative extensions which may be supported, for instance prompt_one.wav, and play that instead.'),
gettext_noop('When the phone has this number of unsynced forms stored locally CommCare will trigger a warning'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<p>
{% blocktrans %}
For more information on deprecated case types, see the following
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary">documentation</a>.
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary#Deprecating-%26-Delete-Case-Types-and-Case-Properties">documentation</a>.
{% endblocktrans %}
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<br/>
<input type="checkbox" data-bind="checked: smartLangDisplay"/>
{% trans "Smart language display in forms" %}.
<a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2281275512/Language+Configuration+Translation" target="_blank">Learn more</a>
<a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143958174/Language+Configuration+in+CommCareHQ#Smart-Language-Display-in-Forms" target="_blank">Learn more</a>
</div>
{% endif %}
<div data-bind="if: removedLanguages().length" class="removed-languages">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<p>
Documentation for bulk case imports can be found on our
<a
href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946828/Importing+Cases+Using+Excel"
href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946828/Importing+Cases+Using+Excel#Update-Multiple-Case-Types-in-a-Single-Import"
target="_blank">
help page for this feature.
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h4 class="modal-title">
</ul>
<p>
For more information on deprecated case types, see the
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary">following documentation</a>.
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary#Deprecating-%26-Delete-Case-Types-and-Case-Properties">following documentation</a>.
</p>
{% endblocktrans %}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
{% blocktrans %}
This feature allows you to quickly explore your case data for ad-hoc data
queries or to identify unclean data.<br />
This is a Feature Preview.
This is an Add-On.
{% endblocktrans %}
<a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143947412/Add-Ons"
target="_blank">
Expand Down
2 changes: 1 addition & 1 deletion corehq/apps/export/templates/export/partials/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ <h4 class="modal-title">
data-bind="if: emailedExport.taskStatus && emailedExport.taskStatus.failed() == 'too_large'">
<i class="fa-solid fa-triangle-exclamation"></i>
{% blocktrans with max_rows=max_daily_export_size|intcomma %}
Your export exceeds the limit of {{ max_rows }} rows. Please see <a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143957751/Data+Analysis+Visualization" data-toggle="modal">documentation</a> for more information.
Your export exceeds the limit of {{ max_rows }} rows. Please see <a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143956271/Form+Data+Export#Multimedia-Exports.1" data-toggle="modal">documentation</a> for more information.
{% endblocktrans %}
</p>

Expand Down
2 changes: 1 addition & 1 deletion corehq/apps/reports/filters/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class ExpandedMobileWorkerFilter(BaseMultipleOptionFilter):
options_url = 'emwf_options_all_users'
filter_help_inline = mark_safe(gettext_lazy( # nosec: no user input
'<i class="fa fa-info-circle"></i> See '
'<a href="https://confluence.dimagi.com/display/commcarepublic/Report+and+Export+Filters"'
'<a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2215051298/Organization+Data+Management#Search-for-Locations"' # noqa: E501
' target="_blank"> Filter Definitions</a>.'))

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{% blocktrans %}
This case uses a deprecated case type.
See the
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary">help documentation</a>
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary#Deprecating-%26-Delete-Case-Types-and-Case-Properties">help documentation</a>
for more information.
{% endblocktrans %}
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{% blocktrans %}
This case uses a deprecated case type.
See the
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary">help documentation</a>
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary#Deprecating-%26-Delete-Case-Types-and-Case-Properties">help documentation</a>
for more information.
{% endblocktrans %}
</p>
Expand Down
5 changes: 3 additions & 2 deletions corehq/feature_previews.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ def previews_enabled_for_domain(domain):
description=_(
"Specify a custom xpath expression to calculate a value "
"in the case list or case detail screen."),
help_link=('https://dimagi.atlassian.net/wiki/spaces/commcarepublic'
'/pages/2143951603/Case+List+and+Case+Detail+Configuration')
help_link=('https://dimagi.atlassian.net/wiki/spaces/commcarepublic/'
'pages/2143951603/Case+List+and+Case+Detail+Configuration#'
'Calculations-in-the-Case-List%2FDetail')
)

ENUM_IMAGE = FeaturePreview(
Expand Down
2 changes: 1 addition & 1 deletion corehq/messaging/scheduling/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ def page_context(self):
"download_url": reverse("download_conditional_alert", args=(self.domain,)),
"adjective": _("SMS alert content"),
"plural_noun": _("SMS alert content"),
"help_link": "https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143956488/Conditional+Alerts", # noqa: E501
"help_link": "https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143956488/Conditional+Alerts#Bulk-download-and-upload-of-SMS-content-in-conditional-alerts", # noqa: E501
},
})
context.update({
Expand Down
2 changes: 1 addition & 1 deletion docs/fhir/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ to become more familiar with JSONPath.
.. _Postman REST Client: https://www.postman.com/product/rest-client/
.. _Firefox add-on: https://addons.mozilla.org/en-US/firefox/addon/rested/
.. _Chrome extension: https://chrome.google.com/webstore/detail/rested/eelcnbccaccipfolokglfhhmapdchbfg
.. _API key authentication: https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2279637003/CommCare+API+Overview
.. _API key authentication: https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2279637003/CommCare+API+Overview#API-Authentication


.. _admin-interface-mapping:
Expand Down
2 changes: 1 addition & 1 deletion docs/web_apps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Not all features have all of these pieces:
Example: Registration from Case List
====================================

As an example, consider `registration from the case list <https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143951603/Case+List+and+Case+Detail+Configuration>`_:
As an example, consider `registration from the case list <https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143951603/Case+List+and+Case+Detail+Configuration#Minimize-Duplicates%3A-Registration-From-the-Case-List>`_:

* A CommCare HQ user goes to the module settings page in app builder and turns on the feature, selecting the registration form they want to be accessible from the case list.

Expand Down

0 comments on commit b7a1b1c

Please sign in to comment.