Skip to content

Commit

Permalink
Update function description / comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson committed Jul 3, 2024
1 parent c1fd1ae commit 5168ed9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bedrock/mozorg/templatetags/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,11 @@ def play_store_url(ctx, product, campaign=None):
@library.global_function
@jinja2.pass_context
def ms_store_url(ctx, product, mode="direct", campaign=None):
"""Returns a Microsoft Windows Store URL for a given product"""
"""
Returns a Microsoft Windows Store URL for a given product.
Installer mode parameter options include "direct" or "full", or "mini".
See https://apps.microsoft.com/badge for details.
"""
base_url = getattr(settings, f"MICROSOFT_WINDOWS_STORE_{product.upper()}_LINK")
params = {
"mode": mode,
Expand Down

0 comments on commit 5168ed9

Please sign in to comment.