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

document: limit title length into document view #305

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

zannkukai
Copy link
Contributor

Limits the title length to 150 characters into the document detail view.
If the title is truncated, then add a 'show more'/'show less' link.

Co-Authored-by: Renaud Michotte renaud.michotte@gmail.com

How to test?

image
image

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Extracted translations?

Limits the title length to 150 characters into the document detail view.
If the title is truncated, then add a 'show more'/'show less' link.

* Closes rero/rero-ils#880

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
@zannkukai zannkukai self-assigned this Jul 3, 2020
Copy link
Contributor

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

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

Commit message approved. Just a small comment on the rero-ils-ui version number in the package.json file.

@@ -1,6 +1,6 @@
{
"name": "@rero/rero-ils-ui",
"version": "0.2.1",
"version": "0.3.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

This has been updated on the dev branch. https://github.com/rero/rero-ils-ui/blob/dev/package.json#L3 Then, why it's needed here?

@iGormilhit iGormilhit added this to the v0.11.0 (rero-ils) milestone Jul 9, 2020
@iGormilhit iGormilhit self-requested a review July 9, 2020 04:30
@iGormilhit iGormilhit merged commit 9d03e51 into rero:dev Jul 9, 2020
@zannkukai zannkukai deleted the zan-reduce-title-size branch July 20, 2020 07:45
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.

Reduce size of title in document detailed view
3 participants