New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add organization and user names on dataset pages #1847
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fact user was not displayed into the sidebar but only below the title was intentional:
- allowed to mark a real difference between users and organizations (in particular when they should be publishing as an organization)
- it was an incentive to publish as org
- it raise the spam cost (you need to publish as org to have a logo and a producer description on thepage)
We need to discuss this (I have arguments for both cases but we needs to be sure this is really what we want)
NB: adds some screenshots
@@ -0,0 +1,34 @@ | |||
<a href="{{ url_for('users.show', user=user, _external=True) }}" | |||
title="{{ user.name }}"> | |||
<img src="{{ user.logo|placeholder('organization') }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Placeholder should be user
<h4>{{ user.first_name }} {{ user.last_name }}</h4> | ||
|
||
<div class="caption text-left"> | ||
{% if user.description %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user.about
?
alt="{{ user.name }}" class="organization-logo producer img-responsive"/> | ||
</a> | ||
|
||
<h4>{{ user.first_name }} {{ user.last_name }}</h4> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{ user.fullname }}
Currently, there is UI consistency issues:
The spam and org incentive issues seem to be strongly related to data.gouv.fr situation and might strongly impact deployment of other generic open data platform (e.g. private and non-gov instances) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved technically. We still needs to be sure we want to make the user change
I agree on both point but this was explicitely asked |
fix #1836