Skip to content

Commit 0e781be

Browse files
committed
Merge branch 'master' of github.com:fredwu/angel_nest
2 parents d60acb9 + d901bd5 commit 0e781be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+947
-20
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ gem 'devise', '~> 1.4.2'
88
gem 'omniauth', '~> 0.2.0'
99
gem 'inherited_resources', '~> 1.2.0'
1010
gem 'simple_form', '~> 1.4.0'
11+
gem 'nested_form', :git => 'git://github.com/ryanb/nested_form.git'
1112
gem 'squeel', '~> 0.8.0'
1213
gem 'rails_config'
1314
gem 'has_scope'

Gemfile.lock

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
GIT
2+
remote: git://github.com/ryanb/nested_form.git
3+
revision: 57f32788f1952bcd633057b4b56b69b51df17610
4+
specs:
5+
nested_form (0.1.1)
6+
17
GIT
28
remote: git://github.com/stonean/slim.git
39
revision: a3465a03f913fb1c724797c785f13703265acd12
@@ -290,6 +296,7 @@ DEPENDENCIES
290296
mini_magick
291297
modernizr-rails
292298
mysql2
299+
nested_form!
293300
omniauth (~> 0.2.0)
294301
pickle
295302
rails (~> 3.1.0.rc4)
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
window.label = <%= I18n.t('label').to_json %>
1+
window.label = <%= I18n.t('label').to_json %>
2+
window.settings = <%= Settings.to_json %>

app/assets/javascripts/concerns/editable.js.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jQuery ->
4545
edit_action = (parent) ->
4646
edit_target = parent.data('edit_target')
4747
cached_html = $(edit_target).html()
48-
target_link = $('a', parent).attr('href')
48+
target_link = $(parent).data('edit_href') || $('a', parent).attr('href')
4949

5050
$(edit_target).wrapInner('<div class="cached" />') unless $('.cached', edit_target).length > 0
5151
$('.cached', edit_target).after('<div class="inline_edit"></div>') unless $('.inline_edit', edit_target).length > 0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
jQuery ->
2+
$('#slideshow').livequery(->
3+
$(@).slideshow(
4+
pauseSeconds: 5
5+
width: window.settings.group.logo.full.width
6+
height: window.settings.group.logo.full.height
7+
caption: false
8+
)
9+
10+
$('> a', @).fancybox()
11+
)

app/assets/javascripts/concerns/pagination.js.coffee

Whitespace-only changes.

app/assets/javascripts/libs/jquery/jquery.fancybox.pack.js

+46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)