diff --git a/scipost/static/scipost/assets/css/_pool.scss b/scipost/static/scipost/assets/css/_pool.scss index 74a013d68e172dab632fbc5d56250b29ee394d5c..8b6dbdff6d5d38938167dbc50a97e8f29ab90914 100644 --- a/scipost/static/scipost/assets/css/_pool.scss +++ b/scipost/static/scipost/assets/css/_pool.scss @@ -27,4 +27,11 @@ padding: 5rem 0 3rem 0; text-align: center; } + + .loading-container { + .submission_title, + .author_list { + display: none; + } + } } diff --git a/submissions/templates/submissions/_submission_card_base.html b/submissions/templates/submissions/_submission_card_base.html index 3b5b104b008afad6af8d7d6f39f12806e70b6e59..a9eb8cdba588f7f64360ad172ae0b56e45b01499 100644 --- a/submissions/templates/submissions/_submission_card_base.html +++ b/submissions/templates/submissions/_submission_card_base.html @@ -1,11 +1,11 @@ <div class="card-body {% block cardblock_class_block %}{% endblock %} {{ cardblock_class }}"> - {% if not hide_title %} + <div class="submission_title"> <h5 class="pb-0">{{submission.get_subject_area_display}}</h5> <h3 class="card-title {% block title_class_block %}{% endblock %}"> <a href="{{submission.get_absolute_url}}">{{submission.title}}</a> </h3> - {% endif %} + </div> {% block card_block_footer %}{% endblock %} </div> diff --git a/submissions/templates/submissions/_submission_card_fellow_content.html b/submissions/templates/submissions/_submission_card_fellow_content.html index 326c2f85fc73876bd2bb2bc4e505cb397b9d5e0d..0a4609d7476e88860c642e1255401da0d6a5afb1 100644 --- a/submissions/templates/submissions/_submission_card_fellow_content.html +++ b/submissions/templates/submissions/_submission_card_fellow_content.html @@ -1,9 +1,8 @@ {% extends 'submissions/_submission_card_base.html' %} {% block card_block_footer %} - {% if not hide_title %} - <p class="card-text mb-3">by {{submission.author_list}}</p> - {% endif %} + <p class="card-text mb-3 author_list">by {{submission.author_list}}</p> + <table class="text-muted w-100 mb-1"> <tr> <td style="min-width: 40%;">Version</td>