diff --git a/app/scss/custom.scss b/app/scss/custom.scss index 66634857..559fea88 100644 --- a/app/scss/custom.scss +++ b/app/scss/custom.scss @@ -3,6 +3,10 @@ @import "packagegrid.scss"; @import "comments.scss"; +.dropdown-menu { + margin-top: 0; +} + .dropdown:hover .dropdown-menu { display: block; } @@ -21,6 +25,10 @@ text-decoration: none; } +.card .table { + margin-bottom: 0; +} + .btn-download { color: #fff; background-color: #00b05c; diff --git a/app/templates/macros/topics.html b/app/templates/macros/topics.html index b38286b7..a3d40c6e 100644 --- a/app/templates/macros/topics.html +++ b/app/templates/macros/topics.html @@ -1,5 +1,5 @@ {% macro render_topics_table(topics, show_author=True) -%} -
Id | diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index 30ca4240..89174a0d 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -146,76 +146,76 @@ - |
---|
Name | +{{ package.name }} | +
Provides | +{% for meta in package.provides %} + {{ meta.name }} + {%- if not loop.last %} + , + {% endif %} + {% endfor %} | +
Name | -{{ package.name }} | -
Provides | -{% for meta in package.provides %} - {{ meta.name }} - {%- if not loop.last %} - , - {% endif %} - {% endfor %} | -
Author | -- - {{ package.author.display_name }} - - | -
Type | -{{ package.type.value }} | -
License | -
- {% if package.license == package.media_license %}
- {{ package.license.name }}
- {% elif package.type == package.type.TXP %}
- {{ package.media_license.name }}
- {% else %}
- {{ package.license.name }} for code, - {{ package.media_license.name }} for media. - {% endif %} - |
-
Added | -{{ package.created_at | datetime }} | -
Tags | -- {% for t in package.tags %} - {{ t.title }} - {% else %} - No tags. - {% endfor %} - | -
Rank: | ++ {{ user.rank.getTitle() }} + | +||||||||
Accounts: | +
+ {% if user.forums_username %}
+
+ Minetest Forum
+
+ {% elif user == current_user %}
+ No forum account
+ {% endif %}
-
|