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

Baguette in bootstrap #2929

Merged
merged 9 commits into from Dec 26, 2017
Merged

Baguette in bootstrap #2929

merged 9 commits into from Dec 26, 2017

Conversation

ralsina
Copy link
Member

@ralsina ralsina commented Dec 4, 2017

  • Use baguetteJS (nicer, smaller, faster than colorbox) in bootstrap theme.
  • Remove colorbox

This change is backwards-incompatible since it's bound to break people's themes.

<!-- fancy dates -->
<script>
moment.locale("${momentjs_locales[lang]}");
fancydates(${date_fanciness}, ${js_date_format});
</script>
<!-- end fancy dates -->
<%block name="extra_js"></%block>
<script>baguetteBox.run('a.reference', {
Copy link
Member

Choose a reason for hiding this comment

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

Why did we change the classes baguetteBox works with?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's copied from base theme. Probably both should be what was in bootstrap instead.

I'll take a look at it tomorrow.

Copy link
Member

Choose a reason for hiding this comment

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

Ping?

Copy link
Member Author

Choose a reason for hiding this comment

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

This seems to work in the demo cases. Since baguette is not JQuery based, I don't see a simple way to use that complex selector :-(

@ralsina
Copy link
Member Author

ralsina commented Dec 11, 2017 via email

@Kwpolska
Copy link
Member

Please backport the .islink thing back to base and run jinjify again.

Copy link
Member

@Kwpolska Kwpolska left a comment

Choose a reason for hiding this comment

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

Okay, so .islink is kinda different, but eh, it’s good enough.

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
@Kwpolska Kwpolska merged commit 05b1fd1 into master Dec 26, 2017
@Kwpolska Kwpolska deleted the baguette-in-bootstrap branch December 26, 2017 20:18
@ralsina
Copy link
Member Author

ralsina commented Dec 27, 2017

Thanks for merging and reviewing @Kwpolska

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

2 participants