Skip to content

Commit

Permalink
Re-made companies show page in admin panel. Also changing 9,000 ot 10…
Browse files Browse the repository at this point in the history
…,000 in view side.
  • Loading branch information
nadeemyasin61 committed Apr 10, 2014
1 parent fa6520d commit 48dfd55
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
38 changes: 38 additions & 0 deletions app/admin/companies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,44 @@
default_actions
end

show do |company|
attributes_table do
row :id
row :name
row :user
row :city
row :county
row :zipcode do
link_to company.zipcode.code, admin_zipcode_path(company.zipcode_id)
end
row :category
row :raising_money
row :money_raisig_expired_at
row :homepage_url
row :facebook
row :twitter
row :jobs_url
row :address
row :address2
row :founded_year
row :email_address
row :phone_number
row :description
row :overview
row :latitude
row :longitude
row :jobs_count
row :kickstarter_url
row :kickstarter_end_date
row :permalink
row :enabled
row :presented
row :presentation_date
row :created_at
row :updated_at
end
end

controller do

def edit
Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/mailer/confirmation_instructions.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p>Hi,</p>
<br/>
<p>Our group continues to evolve and grow, 9,000 plus members across the state, so we thought it was time to create an index of all the companies and services who make up the New Tech community.</p>
<p>Our group continues to evolve and grow, 10,000 plus members across the state, so we thought it was time to create an index of all the companies and services who make up the New Tech community.</p>
<br/>
<p>Once you confirm your account, by clicking the link below, login and tell us about your company.</p>
<br/>
Expand Down
2 changes: 1 addition & 1 deletion app/views/home/welcome.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#tooltip-centerer
#tooltip.alert.alert-info
%h2
NEW TECH IS A COMMUNITY OF OVER 9,000 GEEKS WHO LIVE AND WORK IN COLORADO.
NEW TECH IS A COMMUNITY OF OVER 10,000 GEEKS WHO LIVE AND WORK IN COLORADO.
%hr
Hover a hotspot to see the breakout of our companies by county, or adjust the filters to customize
%button.close{:type => "button", :data => {:dismiss => "alert" }} x
Expand Down
2 changes: 1 addition & 1 deletion app/views/sponsor/sponsor_over_view.html.haml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= render :partial => 'partial_templates/top_navigation'
#content-body
%br
%h1 NEW TECH IS A COMMUNITY OF OVER 9,000 GEEKS WHO LIVE AND WORK IN COLORADO.
%h1 NEW TECH IS A COMMUNITY OF OVER 10,000 GEEKS WHO LIVE AND WORK IN COLORADO.
%h2 Interested in sponsoring New Tech
%h4 Event Sponsor - $1,500 for 3 months - includes:
%h4 1) Corporate name and description in the email blasts that go to the complete membership
Expand Down

0 comments on commit 48dfd55

Please sign in to comment.