prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Kalender-URL schöner anzeigen
  Als Nutzer möchte ich auf meiner Profilseite ein read-only-Feld sehen, in dem die URL zu meinem Kalender-Feed steht. Der Link soll nicht klickbar sein, damit die ics-Datei nicht heruntergeladen wird. Neben dem Link soll ein Button zum Kopieren der URL vorhanden sein.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `ephios/extra/context.py`
  Content:
  ```
  1 import importlib
  2 import subprocess
  3 
  4 from django.templatetags.static import static
  5 from django.utils.translation import get_language
  6 
  7 from ephios.extra.signals import footer_link
  8 
  9 try:
  10     EPHIOS_VERSION = (
  11         subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]).decode().strip()
  12     )
  13 except (subprocess.CalledProcessError, FileNotFoundError):
  14     # suggested in https://github.com/python-poetry/poetry/issues/273
  15     EPHIOS_VERSION = "v" + importlib.metadata.version("ephios")
  16 
  17 
  18 def ephios_base_context(request):
  19     footer = {}
  20     for receiver, result in footer_link.send(None, request=request):
  21         for label, url in result.items():
  22             footer[label] = url
  23 
  24     datatables_translation_url = None
  25     if get_language() == "de-de":
  26         datatables_translation_url = static("datatables/german.json")
  27 
  28     return {
  29         "footer": footer,
  30         "datatables_translation_url": datatables_translation_url,
  31         "ephios_version": EPHIOS_VERSION,
  32     }
  33
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/ephios/extra/context.py b/ephios/extra/context.py
  --- a/ephios/extra/context.py
  +++ b/ephios/extra/context.py
  @@ -5,6 +5,7 @@
   from django.utils.translation import get_language
   
   from ephios.extra.signals import footer_link
  +from ephios.settings import SITE_URL
   
   try:
       EPHIOS_VERSION = (
  @@ -29,4 +30,5 @@
           "footer": footer,
           "datatables_translation_url": datatables_translation_url,
           "ephios_version": EPHIOS_VERSION,
  +        "SITE_URL": SITE_URL,
       }
  
verification_info: {"golden_diff": "diff --git a/ephios/extra/context.py b/ephios/extra/context.py\n--- a/ephios/extra/context.py\n+++ b/ephios/extra/context.py\n@@ -5,6 +5,7 @@\n from django.utils.translation import get_language\n \n from ephios.extra.signals import footer_link\n+from ephios.settings import SITE_URL\n \n try:\n     EPHIOS_VERSION = (\n@@ -29,4 +30,5 @@\n         \"footer\": footer,\n         \"datatables_translation_url\": datatables_translation_url,\n         \"ephios_version\": EPHIOS_VERSION,\n+        \"SITE_URL\": SITE_URL,\n     }\n", "issue": "Kalender-URL sch\u00f6ner anzeigen\nAls Nutzer m\u00f6chte ich auf meiner Profilseite ein read-only-Feld sehen, in dem die URL zu meinem Kalender-Feed steht. Der Link soll nicht klickbar sein, damit die ics-Datei nicht heruntergeladen wird. Neben dem Link soll ein Button zum Kopieren der URL vorhanden sein.\n", "before_files": [{"content": "import importlib\nimport subprocess\n\nfrom django.templatetags.static import static\nfrom django.utils.translation import get_language\n\nfrom ephios.extra.signals import footer_link\n\ntry:\n    EPHIOS_VERSION = (\n        subprocess.check_output([\"git\", \"rev-parse\", \"--short\", \"HEAD\"]).decode().strip()\n    )\nexcept (subprocess.CalledProcessError, FileNotFoundError):\n    # suggested in https://github.com/python-poetry/poetry/issues/273\n    EPHIOS_VERSION = \"v\" + importlib.metadata.version(\"ephios\")\n\n\ndef ephios_base_context(request):\n    footer = {}\n    for receiver, result in footer_link.send(None, request=request):\n        for label, url in result.items():\n            footer[label] = url\n\n    datatables_translation_url = None\n    if get_language() == \"de-de\":\n        datatables_translation_url = static(\"datatables/german.json\")\n\n    return {\n        \"footer\": footer,\n        \"datatables_translation_url\": datatables_translation_url,\n        \"ephios_version\": EPHIOS_VERSION,\n    }\n", "path": "ephios/extra/context.py"}], "after_files": [{"content": "import importlib\nimport subprocess\n\nfrom django.templatetags.static import static\nfrom django.utils.translation import get_language\n\nfrom ephios.extra.signals import footer_link\nfrom ephios.settings import SITE_URL\n\ntry:\n    EPHIOS_VERSION = (\n        subprocess.check_output([\"git\", \"rev-parse\", \"--short\", \"HEAD\"]).decode().strip()\n    )\nexcept (subprocess.CalledProcessError, FileNotFoundError):\n    # suggested in https://github.com/python-poetry/poetry/issues/273\n    EPHIOS_VERSION = \"v\" + importlib.metadata.version(\"ephios\")\n\n\ndef ephios_base_context(request):\n    footer = {}\n    for receiver, result in footer_link.send(None, request=request):\n        for label, url in result.items():\n            footer[label] = url\n\n    datatables_translation_url = None\n    if get_language() == \"de-de\":\n        datatables_translation_url = static(\"datatables/german.json\")\n\n    return {\n        \"footer\": footer,\n        \"datatables_translation_url\": datatables_translation_url,\n        \"ephios_version\": EPHIOS_VERSION,\n        \"SITE_URL\": SITE_URL,\n    }\n", "path": "ephios/extra/context.py"}]}