Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Seperated intregrted css
- Loading branch information
A.K.M. Ashrafuzzaman
authored and
A.K.M. Ashrafuzzaman
committed
Nov 24, 2011
1 parent
10f56d1
commit 287c54a
Showing
9 changed files
with
62 additions
and
59 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,17 +1,20 @@ | ||
module ProjectPortfolioHelper | ||
def render_thumbnail(portfolio) | ||
if portfolio.thumbnail_url.blank? | ||
image_fu portfolio.thumbnail, nil | ||
else | ||
image_tag(portfolio.thumbnail_url) | ||
end | ||
#if portfolio.thumbnail_url.blank? | ||
# image_fu portfolio.thumbnail, nil | ||
#else | ||
# image_tag(portfolio.thumbnail_url) | ||
#end | ||
image_fu portfolio.thumbnail, :medium | ||
end | ||
|
||
def render_image(portfolio) | ||
if portfolio.image_url.blank? | ||
image_fu portfolio.image, :width => '400' | ||
elsif portfolio.image_url.present? | ||
image_tag(portfolio.image_url, :width => '400') | ||
end | ||
#if portfolio.image_url.blank? | ||
# image_fu portfolio.image, :width => '400' | ||
#elsif portfolio.image_url.present? | ||
# image_tag(portfolio.image_url, :width => '400') | ||
#end | ||
image_fu portfolio.image, nil | ||
end | ||
|
||
end |
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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
embed_assets: on | ||
package_assets: always | ||
package_path: javascripts | ||
|
||
javascripts: | ||
portfolio.min: | ||
- public/javascripts/jquery.quicksand.js | ||
- public/javascripts/jquery.easing.js | ||
- public/javascripts/jquery.bpopup.js | ||
- public/javascripts/portfolio.js |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
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,15 +1,15 @@ | ||
Gem::Specification.new do |s| | ||
s.platform = Gem::Platform::RUBY | ||
s.name = 'refinerycms-project_portfolios' | ||
s.version = '0.0.2' | ||
s.version = '0.0.3' | ||
s.author = 'A.K.M. Ashrafuzzaman' | ||
s.email = %q{ashrafuzzaman.g2@gmail.com} | ||
s.homepage = %q{http://www.ashrafuzzaman.com} | ||
s.description = 'Ruby on Rails Project Portfolios engine for Refinery CMS' | ||
s.date = '2011-11-18' | ||
s.date = '2011-11-23' | ||
s.summary = 'Project Portfolios engine for Refinery CMS' | ||
s.require_paths = %w(lib) | ||
s.files = Dir['lib/**/*', 'config/**/*', 'app/**/*', 'db/**/*', 'public/**/*'] | ||
s.add_dependency('acts-as-taggable-on', '~>2.1.0') | ||
s.add_dependency('refinerycms', '~> 1.0.9') | ||
end | ||
end |