better presenting for group description
This commit is contained in:
parent
87f555e1ef
commit
ef646928e4
5 changed files with 9 additions and 13 deletions
|
@ -30,6 +30,8 @@
|
||||||
border-color: #DDD;
|
border-color: #DDD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.well { padding: 15px; }
|
||||||
|
|
||||||
/** HELPERS **/
|
/** HELPERS **/
|
||||||
.nothing_here_message {
|
.nothing_here_message {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -16,10 +16,9 @@
|
||||||
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
|
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
|
||||||
|
|
||||||
.form-actions
|
.form-actions
|
||||||
= f.submit 'Create group', class: "btn btn-primary"
|
= f.submit 'Create group', class: "btn btn-create"
|
||||||
|
|
||||||
|
|
||||||
%hr
|
|
||||||
.padded
|
.padded
|
||||||
%ul
|
%ul
|
||||||
%li Group is kind of directory for several projects
|
%li Group is kind of directory for several projects
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
- if @group.description.present?
|
|
||||||
.description
|
|
||||||
= @group.description
|
|
||||||
%hr
|
|
||||||
|
|
||||||
.projects
|
.projects
|
||||||
.activities.span8
|
.activities.span8
|
||||||
= render "events/event_last_push", event: @last_push
|
= render "events/event_last_push", event: @last_push
|
||||||
|
@ -17,6 +12,9 @@
|
||||||
%p.nothing_here_message Project activity will be displayed here
|
%p.nothing_here_message Project activity will be displayed here
|
||||||
.loading.hide
|
.loading.hide
|
||||||
.side.span4
|
.side.span4
|
||||||
|
- if @group.description.present?
|
||||||
|
.description.well.light
|
||||||
|
= @group.description
|
||||||
= render "projects", projects: @projects
|
= render "projects", projects: @projects
|
||||||
%div
|
%div
|
||||||
%span.rss-icon
|
%span.rss-icon
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
.form-actions
|
.form-actions
|
||||||
= f.submit 'Create team', class: "btn btn-create"
|
= f.submit 'Create team', class: "btn btn-create"
|
||||||
|
|
||||||
%hr
|
|
||||||
.padded
|
.padded
|
||||||
%ul
|
%ul
|
||||||
%li All created teams are public (users can view who enter into team and which project are assigned for this team)
|
%li All created teams are public (users can view who enter into team and which project are assigned for this team)
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
- if @team.description.present?
|
|
||||||
.description
|
|
||||||
= @team.description
|
|
||||||
%hr
|
|
||||||
|
|
||||||
.projects
|
.projects
|
||||||
.activities.span8
|
.activities.span8
|
||||||
= link_to dashboard_path, class: 'btn btn-tiny' do
|
= link_to dashboard_path, class: 'btn btn-tiny' do
|
||||||
|
@ -16,6 +11,9 @@
|
||||||
%p.nothing_here_message Projects activity will be displayed here
|
%p.nothing_here_message Projects activity will be displayed here
|
||||||
.loading.hide
|
.loading.hide
|
||||||
.side.span4
|
.side.span4
|
||||||
|
- if @team.description.present?
|
||||||
|
.description.well.light
|
||||||
|
= @team.description
|
||||||
= render "projects", projects: @projects
|
= render "projects", projects: @projects
|
||||||
%div
|
%div
|
||||||
%span.rss-icon
|
%span.rss-icon
|
||||||
|
|
Loading…
Reference in a new issue