diff --git a/README.md b/README.md index 8eb657adc..97fe97694 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ * Mac OS or Linux * mysql ```root``` user is accessible by a non-root OS user, with password ```root``` (in order to run ```reset_database.sh```) * default python is Python 3 - + ## Getting Started With CELTS in a devcontainer 1. If on Windows 10, make sure your Windows install is in developer mode so that core.symlinks will be set properly: https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development (requires admin privileges) 3. Set up an SSH agent with your GitHub SSH key. https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent diff --git a/app/config/default.yml b/app/config/default.yml index 40638b124..8e25bf027 100644 --- a/app/config/default.yml +++ b/app/config/default.yml @@ -120,6 +120,8 @@ contributors: role: "Software Engineer" - name: "Chris Anderson" role: "Software Engineer" + - name: "Moustapha Ndiaye" + role: "Software Engineer" - name: "Kafui Gle" role: "Software Engineer" - name: "Seedy Jahateh" @@ -135,4 +137,4 @@ contributors: - name: "Anna Vung" role: "Software Engineer" - name: "Nyan Lin Zaw (Imran)" - role: "Software Engineer" + role: "Software Engineer" \ No newline at end of file diff --git a/app/templates/displayFilesMacro.html b/app/templates/displayFilesMacro.html index e8af00dd0..8701683f0 100644 --- a/app/templates/displayFilesMacro.html +++ b/app/templates/displayFilesMacro.html @@ -1,6 +1,6 @@ {% macro displayFiles(filePaths, titleName, deleteLink, databaseId) %} - + +
+ + + + + {% for key, value in filePaths.items() %} + + + + + + {% endfor %}
Display{{ titleName }}
+
+
+
+ +
+
+
+
+ {% set idx = key.index("/") %} + {% set fileName = key[idx+1:] %} + {% set shortName = fileName[:8] + "..." + fileName[-10:] if fileName|length > 25 else fileName %} + {{ shortName }} + + +
+ + + + + + + {% endmacro %} \ No newline at end of file