Merge commit 'ef3fddd863dcfe90f2a352206bdef0ff85af53f0' into openness
Conflicts: vendor/built_in_modules/calendar/app/assets/javascripts/calendarAPI.js.erb
This commit is contained in:
commit
1dc44e34ac
|
@ -290,6 +290,7 @@ var calendarAPI = function(){
|
||||||
})
|
})
|
||||||
var doneEventArray = new Array();
|
var doneEventArray = new Array();
|
||||||
var makerow = function(events){
|
var makerow = function(events){
|
||||||
|
|
||||||
var $eventrow =null;
|
var $eventrow =null;
|
||||||
var currow = 0;
|
var currow = 0;
|
||||||
var curdate = 0;
|
var curdate = 0;
|
||||||
|
@ -370,6 +371,7 @@ var calendarAPI = function(){
|
||||||
curparent = thisparent;
|
curparent = thisparent;
|
||||||
if(recordcurdate)
|
if(recordcurdate)
|
||||||
doneEventArray.push(evnt.index);
|
doneEventArray.push(evnt.index);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@ class Panel::Gallery::FrontEnd::AlbumsController < OrbitWidgetController
|
||||||
@album.tag_ids.each do |tag|
|
@album.tag_ids.each do |tag|
|
||||||
@tags << GalleryTag.find(tag)[I18n.locale]
|
@tags << GalleryTag.find(tag)[I18n.locale]
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_albums
|
def get_albums
|
||||||
|
@ -96,6 +97,7 @@ class Panel::Gallery::FrontEnd::AlbumsController < OrbitWidgetController
|
||||||
tags.each do |tag|
|
tags.each do |tag|
|
||||||
@tagnames << GalleryTag.find(tag)[I18n.locale]
|
@tagnames << GalleryTag.find(tag)[I18n.locale]
|
||||||
end
|
end
|
||||||
|
@back_link = panel_gallery_front_end_album_path(@albumid)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
gallery.loadAlbums(gallery.urlVars['tag']);
|
gallery.loadAlbums(gallery.urlVars['tag']);
|
||||||
}else{
|
}else{
|
||||||
gallery.loadArea = "albums";
|
gallery.loadArea = "albums";
|
||||||
g.loadAlbums("all");
|
gallery.loadAlbums("all");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<!-- tag end -->
|
<!-- tag end -->
|
||||||
<div class="form-actions form-fixed pagination-right rghead">
|
<div class="form-actions form-fixed pagination-right rghead">
|
||||||
<div class="rgfn">
|
<div class="rgfn">
|
||||||
<a class="bt-back rgbt" title="<%= I18n.t("gallery.back_to_albums") %>" href="gallery"><i class="icon-arrow-left"></i> <%= I18n.t("gallery.back_to_albums") %></a>
|
<a class="bt-back rgbt" title="<%= I18n.t("gallery.back_to_albums") %>" href="<%= panel_gallery_front_end_albums_path %>"><i class="icon-arrow-left"></i> <%= I18n.t("gallery.back_to_albums") %></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
<!-- tag end -->
|
<!-- tag end -->
|
||||||
<div class="form-actions form-fixed pagination-right rghead">
|
<div class="form-actions form-fixed pagination-right rghead">
|
||||||
<div class="rgfn">
|
<div class="rgfn">
|
||||||
<a class="bt-back rgbt" title="<%= I18n.t("gallery.back_to_albums") %>" href="gallery?id=<%= @albumid %>"><i class="icon-arrow-left"></i> <%= I18n.t("gallery.back_to_albums") %></a>
|
<a class="bt-back rgbt" title="<%= I18n.t("gallery.back_to_albums") %>" href="<%= @back_link %>"><i class="icon-arrow-left"></i> <%= I18n.t("gallery.back_to_albums") %></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue