This repository was archived by the owner on May 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #406 from rdsubhas/release1
1546 | Add new button in photo management page to view full size photo
- Loading branch information
Showing
4 changed files
with
60 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
|
||
<h1><%= link_to 'Children', children_path %> > <%= link_to @child.name, child_path(@child) %> (<%= @child.short_id %>) > Manage photo</h1> | ||
<script type="text/javascript"> | ||
$(function() { | ||
window.Photos.refresh(<%= @photos_details.to_json.html_safe %>); | ||
}); | ||
$(function() { | ||
window.Photos.refresh(<%= @photos_details.to_json.html_safe %>); | ||
}); | ||
</script> | ||
<div class="clearfix"></div> | ||
<div class="clearfix"></div> | ||
<div class="manage_photos"> | ||
|
||
|
||
<div class="thumbnails"> | ||
<div class="flash" style="display:none"><div id="notice" class="error"></div></div><br class="clearfix" /> | ||
</div> | ||
<div class="thumbnails"> | ||
<div class="flash" style="display:none"><div id="notice" class="error"></div></div><br class="clearfix" /> | ||
</div> | ||
<div class="clearfix"></div> | ||
<a href="#" id="selectPrimaryPhotoButton" class="btn"><span class="photo">Choose as primary photo</span></a> | ||
<a href="#" id="viewFullSizePhotoButton" class="btn"><span class="photo">View full size photo</span></a> | ||
<div class="clearfix"></div> | ||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
|
||
<div class="profile-tools"> | ||
<ul> | ||
<li class=""><a href="#" id="selectPrimaryPhotoButton">Choose as primary photo</a></li> | ||
<li class=""><a href="#" id="viewFullSizePhotoButton">View full size photo</a></li> | ||
</ul> | ||
</div> | ||
|
||
<div class="thumbnails"> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters