Repository: comic/grand-challenge.org

Issue:
Meta data (contact, url, etc.) for algorithms
Currently, algorithms can only have a description and this description is placed, in full, on the overview page. It would be nice if we could add additional information, like a contact address, a URL for more information, etc. 

This information could also be placed in a large text field that is not placed on the overview page.


Discussion:

Resolving patch:
diff --git a/app/grandchallenge/algorithms/migrations/0016_auto_20191205_1417.py b/app/grandchallenge/algorithms/migrations/0016_auto_20191205_1417.py
new file mode 100644
--- /dev/null
+++ b/app/grandchallenge/algorithms/migrations/0016_auto_20191205_1417.py
@@ -0,0 +1,37 @@
+# Generated by Django 2.2.7 on 2019-12-05 14:17
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ("algorithms", "0015_algorithmpermissionrequest"),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name="algorithm",
+            name="additional_information",
+            field=models.TextField(
+                blank=True,
+                help_text="Any additional information that might be relevant to users for this algorithm. This is only displayed on the algorithm's detail page.",
+            ),
+        ),
+        migrations.AddField(
+            model_name="algorithm",
+            name="contact_information",
+            field=models.TextField(
+                blank=True,
+                help_text="Who should users contact with any questions regarding this algorithm? This information is only displayed on the algorithm's detail page.",
+            ),
+        ),
+        migrations.AddField(
+            model_name="algorithm",
+            name="info_url",
+            field=models.URLField(
+                blank=True,
+                help_text="A URL to a page containing more information about the algorithm.",
+            ),
+        ),
+    ]
diff --git a/app/grandchallenge/algorithms/models.py b/app/grandchallenge/algorithms/models.py
--- a/app/grandchallenge/algorithms/models.py
+++ b/app/grandchallenge/algorithms/models.py
@@ -68,6 +68,29 @@ class Algorithm(UUIDModel, TitleSlugDescriptionModel):
             "algorithm users group in order to do that."
         ),
     )
+    contact_information = models.TextField(
+        blank=True,
+        help_text=(
+            "Who should users contact with any questions regarding "
+            "this algorithm? This information is only displayed on the "
+            "algorithm's detail page."
+        ),
+    )
+    info_url = models.URLField(
+        blank=True,
+        help_text=(
+            "A URL to a page containing more information about "
+            "the algorithm."
+        ),
+    )
+    additional_information = models.TextField(
+        blank=True,
+        help_text=(
+            "Any additional information that might be relevant to "
+            "users for this algorithm. This is only displayed on the "
+            "algorithm's detail page."
+        ),
+    )
 
     class Meta(UUIDModel.Meta, TitleSlugDescriptionModel.Meta):
         ordering = ("created",)


Test patch: