Skip to content

Commit

Permalink
Corrections do backer management
Browse files Browse the repository at this point in the history
  • Loading branch information
lfzawacki committed May 24, 2016
1 parent 841f9d7 commit e370ea0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/assets/stylesheets/resources/backers/_index.sass
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
.info_bar
background: #323334
float: left
width: 200px
width: 290px
padding: 10px

ul
Expand All @@ -169,15 +169,15 @@
padding: 15px 8px 5px 15px

h6
font-size: 38px
font-size: 30px
margin-bottom: 3px
float: left
margin-left: 5px
display: inline

.little
float: right
width: 60px
width: 52px

p
text-transform: uppercase
Expand Down
2 changes: 1 addition & 1 deletion app/models/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def expected_revenue
end

def display_expected_revenue
number_to_currency expected_revenue, :unit => 'R$', :precision => 0, :delimiter => '.'
number_to_currency expected_revenue, :unit => 'R$', :precision => 2, :delimiter => '.'
end

def finish!
Expand Down
6 changes: 3 additions & 3 deletions app/views/projects/_admin_links.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
= image_tag 'report.png'
= link_to t('.report'), backers_financial_report_path(@project)

li
= image_tag 'catarse/pencil_16.png'
= link_to t('.back_to_edit'), project_path(@project)
li
= image_tag 'catarse/pencil_16.png'
= link_to t('.back_to_edit'), project_path(@project)

li.preview-link
- if preview_mode?
Expand Down

0 comments on commit e370ea0

Please sign in to comment.