Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Discuss Data Project
Discuss Data
Commits
48038c5e
Commit
48038c5e
authored
May 30, 2020
by
felix.herrmann
Browse files
fix(UIUX): shrink categories column on dataset card in favor of buttons
parent
2f47f34f
Changes
1
Hide whitespace changes
Inline
Side-by-side
discuss_data/templates/dddatasets/_dataset_card.html
View file @
48038c5e
...
...
@@ -3,7 +3,7 @@
<div
class=
"card-body"
>
<div
class=
"media"
>
<div
class=
"media-body row align-items-center"
>
<div
class=
"col-
7
"
>
<div
class=
"col-
8
"
>
{% if prep %}{% if dataset.published %}
<span
class=
"badge badge-success"
>
Published
</span><br>
{% endif %}{% endif %}
<h4
class=
"mt-0"
><a
href=
"{% if prep %}{% url 'dddatasets:prep_edit' dataset.uuid %}{% else %}{% url 'dddatasets:detail' dataset.uuid %}{% endif %}"
>
{{dataset.title}}
</a></h4>
{% if dataset.subtitle %}
<h5
class=
"media-heading"
>
{{ dataset.subtitle }}
</h5>
{% endif %}
...
...
@@ -41,7 +41,7 @@
</div>
</div>
</div>
<div
class=
"col-
5
"
>
<div
class=
"col-
4
"
>
{{ dataset.categories }}
</div>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment