Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

PLAT-471 News articles #554

Merged
merged 37 commits into from
Oct 18, 2016
Merged

PLAT-471 News articles #554

merged 37 commits into from
Oct 18, 2016

Conversation

Heleen-cr
Copy link
Contributor

@Heleen-cr Heleen-cr commented Oct 7, 2016

Fixes https://jira.comicrelief.com/browse/PLAT-471

Changes proposed in this pull request

  • change order of fields
  • change date format of published date
  • create template for published date field
  • add image/video caption field
  • create template for news article
  • create stylesheet for news article
  • create stylesheet for news article teaser view mode
  • create template for related news articles view
  • create component and stylesheet for related news articles
  • add inline video embed to wysiwyg editor

@bimsonz bimsonz changed the title plat-471 News articles PLAT-471 News articles Oct 12, 2016
@pvhee pvhee added this to the 1.14.0 milestone Oct 13, 2016
@Saphyel
Copy link
Contributor

Saphyel commented Oct 17, 2016

@Heleen-cr is that going in for tomorrow release?

@Heleen-cr
Copy link
Contributor Author

Heleen-cr commented Oct 17, 2016

trying to. What time do you need it the latest?
It should be reviewed and tested properly though, so not sure if it's feasible.

@Saphyel
Copy link
Contributor

Saphyel commented Oct 17, 2016

Ideally tomorrow before standup, but we can wait until end of the day tomorrow

<div class ='cr-article__image'>
{{ field_article_image }}
</div>
<div class ='cr-article__video'>
Copy link
Contributor

Choose a reason for hiding this comment

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

@Heleen-cr I think we need to add conditions here if not it will show the markup when field is empty

<div class="related-articles__item"> {{ row }} </div>
{% endfor %}
</div>
<div class="related-articles__footer">
Copy link
Contributor

Choose a reason for hiding this comment

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

condition here to not show the markup now that we don't have footer

}
}
@include breakpoint($screen-md){
padding: $row-padding--md;
Copy link
Contributor

Choose a reason for hiding this comment

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

there is no selector for this rule

Heleen Mol added 4 commits October 17, 2016 16:59
@gusliedke gusliedke merged commit 0b23fb9 into develop Oct 18, 2016
@gusliedke gusliedke deleted the PLAT-471-news-articles branch October 18, 2016 13:23
@Saphyel Saphyel mentioned this pull request Oct 18, 2016
@pvhee pvhee mentioned this pull request Jan 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants