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 1, 2024
1 parent ff22136 commit e242b3e
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 e242b3e

Please sign in to comment.