Skip to content
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

Merged
merged 6 commits into from Aug 23, 2018
Merged

add organization and user names on dataset pages #1847

merged 6 commits into from Aug 23, 2018

Conversation

taniki
Copy link
Contributor

@taniki taniki commented Aug 23, 2018

fix #1836

Copy link
Contributor

@noirbizarre noirbizarre left a 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') }}"
Copy link
Contributor

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 %}
Copy link
Contributor

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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{{ user.fullname }}

@taniki
Copy link
Contributor Author

taniki commented Aug 23, 2018

Currently, there is UI consistency issues:

  • between a dataset from an org and a regular author
  • between templates for reuse and dataset

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)

Copy link
Contributor

@noirbizarre noirbizarre left a 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

@noirbizarre
Copy link
Contributor

I agree on both point but this was explicitely asked

@taniki taniki merged commit fe957be into opendatateam:master Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing producer's name on dataset page
2 participants