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

gallery fix #162

Merged
merged 7 commits into from
Feb 15, 2018
Merged

gallery fix #162

merged 7 commits into from
Feb 15, 2018

Conversation

michalstrzelecki
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Feb 9, 2018

Coverage Status

Coverage increased (+0.1%) to 69.636% when pulling 0e48813 on #116_gallery_and_thumb_fix into 993918f on master.

<a href="{{croppaUrl($image->uploadPath())}}" class="colorbox thumbnail"
rel="gallery" title="{{($image->title($language->code))? $image->title($language->code) : ''}}">
<img class="img-fluid"
title="{{($image->title($language->code))? $image->title($language->code) : ''}}"
Copy link
Member

Choose a reason for hiding this comment

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

You don't need to check if title exists, view model does it for you and it will return null if title is not available

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Member

@PSkierniewski PSkierniewski left a comment

Choose a reason for hiding this comment

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

👍

@PSkierniewski PSkierniewski merged commit a6f4acf into master Feb 15, 2018
@PSkierniewski PSkierniewski deleted the #116_gallery_and_thumb_fix branch February 15, 2018 15:44
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.

None yet

3 participants