Skip to content

Commit

Permalink
[impulsa] Project admin page improved.
Browse files Browse the repository at this point in the history
  • Loading branch information
leio10 committed Dec 2, 2016
1 parent d43f47c commit 26e7028
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/admin/impulsa_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
row "error", class: "error" do
errors["#{gname}.#{fname}"]
end if errors["#{gname}.#{fname}"]
row "revisión", class: "review" do
row "revisión", class: "review #{'remark' if impulsa_project.wizard_review["#{gname}.#{fname}"].present?}" do
textarea(impulsa_project.wizard_review["#{gname}.#{fname}"], id: "impulsa_project__rvw_#{gname}__#{fname}", name: "impulsa_project[_rvw_#{gname}__#{fname}]", rows: 2)
end if impulsa_project.reviewable?
end
Expand Down
5 changes: 4 additions & 1 deletion vendor/assets/stylesheets/active_admin.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@ table.index_table th a {
}
}
.row.review {
background: #f5bfc9;
background: #ccc;
border-bottom: 1px solid #999;
.label {
color: #612d6;
}
&.remark {
background: #f5bfc9;
}
}
.row.error {
background: red;
Expand Down

0 comments on commit 26e7028

Please sign in to comment.