Skip to content

Commit

Permalink
resolve merge conflicts, fixed flake8, updated bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
santonelli committed Jan 27, 2016
1 parent 115d6ee commit f1fc68d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 30 deletions.
14 changes: 3 additions & 11 deletions src/operun/gallery/browser/gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,8 @@ def images(self):
"""
Check if folder contains images and return images
"""
<<<<<<< HEAD
folders = self.context.getFolderContents(
{'portal_type': ('Folder', 'Gallery',)}, full_objects=True)
images = self.context.getFolderContents(
{'portal_type': ('Image',)}, full_objects=True)
=======
brains = api.content.find(
context=self.context, portal_type='Image', depth=1)
>>>>>>> 752877b1d801612ea7283ee17507ce4fd1d2db1d
folders = self.context.getFolderContents({'portal_type': ('Folder', 'Gallery',)}, full_objects=True) # noqa
images = self.context.getFolderContents({'portal_type': ('Image',)}, full_objects=True) # noqa

items = []

Expand All @@ -60,8 +53,7 @@ def images(self):
description = obj.description
url = obj.absolute_url()

subimages = obj.getFolderContents(
{'portal_type': ('Image',)}, full_objects=True)
subimages = obj.getFolderContents({'portal_type': ('Image',)}, full_objects=True) # noqa

if subimages:
obj = choice(subimages)
Expand Down
7 changes: 3 additions & 4 deletions src/operun/gallery/browser/static/gallery-compiled.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/operun/gallery/browser/static/gallery-compiled.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/operun/gallery/browser/static/gallery-compiled.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/operun/gallery/browser/static/gallery-compiled.js.map

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions src/operun/gallery/browser/static/gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ require([
'use strict';

// Custom variables
<<<<<<< HEAD

=======

>>>>>>> 752877b1d801612ea7283ee17507ce4fd1d2db1d
$('.gallery-image').each(function() {
$(this).delay(Math.floor(Math.random() * 1000)).animate({opacity: 1}, 250);
});
Expand Down
10 changes: 2 additions & 8 deletions src/operun/gallery/browser/static/gallery.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,7 @@

/* Overrides */

<<<<<<< HEAD
.gallery-image a:focus,
.gallery-image a:hover,
.gallery-image a:active {
outline: 0 !important;
=======
.lightbox a:focus, .lightbox a:hover, .lightbox a:active {
.gallery-image a,
.lightbox a {
outline: none !important;
>>>>>>> 752877b1d801612ea7283ee17507ce4fd1d2db1d
}

0 comments on commit f1fc68d

Please sign in to comment.