Skip to content
Snippets Groups Projects
Commit a5cbb4cb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files
parents 92ccc687 afe47e26
No related branches found
No related tags found
No related merge requests found
Loading
@@ -13,6 +13,9 @@ gem "rails", "~> 4.1.0"
Loading
@@ -13,6 +13,9 @@ gem "rails", "~> 4.1.0"
gem "protected_attributes" gem "protected_attributes"
gem 'rails-observers' gem 'rails-observers'
   
# Make links from text
gem 'rails_autolink', '~> 1.1'
# Default values for AR models # Default values for AR models
gem "default_value_for", "~> 3.0.0" gem "default_value_for", "~> 3.0.0"
   
Loading
Loading
Loading
@@ -367,6 +367,8 @@ GEM
Loading
@@ -367,6 +367,8 @@ GEM
sprockets-rails (~> 2.0) sprockets-rails (~> 2.0)
rails-observers (0.1.2) rails-observers (0.1.2)
activemodel (~> 4.0) activemodel (~> 4.0)
rails_autolink (1.1.6)
rails (> 3.1)
rails_best_practices (1.14.4) rails_best_practices (1.14.4)
activesupport activesupport
awesome_print awesome_print
Loading
@@ -641,6 +643,7 @@ DEPENDENCIES
Loading
@@ -641,6 +643,7 @@ DEPENDENCIES
rack-mini-profiler rack-mini-profiler
rails (~> 4.1.0) rails (~> 4.1.0)
rails-observers rails-observers
rails_autolink (~> 1.1)
rails_best_practices rails_best_practices
raphael-rails (~> 2.1.2) raphael-rails (~> 2.1.2)
rb-fsevent rb-fsevent
Loading
Loading
Loading
@@ -5,7 +5,7 @@
Loading
@@ -5,7 +5,7 @@
= link_to dashboard_path, class: 'btn btn-tiny' do = link_to dashboard_path, class: 'btn btn-tiny' do
← To dashboard ← To dashboard
   
%span.cgray %span.cgray
Currently you are only seeing events from the Currently you are only seeing events from the
= @group.name = @group.name
group group
Loading
@@ -23,7 +23,8 @@
Loading
@@ -23,7 +23,8 @@
%h3.page-title %h3.page-title
= @group.name = @group.name
- if @group.description.present? - if @group.description.present?
%p= @group.description %p
= auto_link @group.description, link: :urls
= render "projects", projects: @projects = render "projects", projects: @projects
- if current_user - if current_user
.prepend-top-20 .prepend-top-20
Loading
Loading
Loading
@@ -17,7 +17,7 @@
Loading
@@ -17,7 +17,7 @@
.col-md-8 .col-md-8
.project-home-desc .project-home-desc
- if @project.description.present? - if @project.description.present?
= @project.description = auto_link @project.description, link: :urls
- if can?(current_user, :admin_project, @project) - if can?(current_user, :admin_project, @project)
– –
%strong= link_to 'Edit', edit_project_path %strong= link_to 'Edit', edit_project_path
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment