Getting rid of project descriptions

This commit is contained in:
Wedge 2016-03-21 12:01:52 +03:00
parent 650bd22401
commit 1088383763
7 changed files with 2 additions and 13 deletions

View File

@ -2,7 +2,6 @@ json.projects @projects do |project|
json.visibility_class fa_visibility_icon(project) json.visibility_class fa_visibility_icon(project)
json.path project_path(project.name_with_owner) json.path project_path(project.name_with_owner)
json.name project.name_with_owner json.name project.name_with_owner
json.description truncate(project.description || '', length: 60).gsub(/\n|\r|\t/, ' ')
json.add_path url_for(controller: :repositories, action: :add_project, project_id: project.id) json.add_path url_for(controller: :repositories, action: :add_project, project_id: project.id)
end end

View File

@ -30,8 +30,6 @@ div ng-controller='RepositoryProjectsController'
|   |  
a ng-href='{{project.path}}' a ng-href='{{project.path}}'
| {{project.name}} | {{project.name}}
td
| {{project.description}}
td td
a ng-href='{{project.add_path}}' ng-show='project.add_path' a ng-href='{{project.add_path}}' ng-show='project.add_path'
= t('layout.add') = t('layout.add')

View File

@ -3,7 +3,6 @@
= link_to project do = link_to project do
.table-sort-left= image_tag visibility_icon(project.visibility) .table-sort-left= image_tag visibility_icon(project.visibility)
.table-sort-right= link_to project.name_with_owner, project_path(project) .table-sort-right= link_to project.name_with_owner, project_path(project)
%td.td2= project.description
- alone_member = alone_member? project - alone_member = alone_member? project
%td %td
- c = participant_class(alone_member, project) - c = participant_class(alone_member, project)

View File

@ -2,7 +2,6 @@ json.project do |proj|
proj.visibility project.visibility.to_s proj.visibility project.visibility.to_s
proj.name project.name_with_owner proj.name project.name_with_owner
proj.description project.description
proj.link project_path(project) proj.link project_path(project)
proj.role t("layout.collaborators.role_names.#{current_user.best_role project}").force_encoding(Encoding::UTF_8) proj.role t("layout.collaborators.role_names.#{current_user.best_role project}").force_encoding(Encoding::UTF_8)

View File

@ -1,3 +1 @@
:markdown Ability to attach at assembly packages of mass builds as additional sources of packages.
__Ability to attach at assembly packages of mass builds as additional sources of packages.__

View File

@ -1,3 +1 @@
:markdown Возможность подключить для сборки пакеты из массовой сборки как дополнительные источники пакетов.
__Возможность подключить для сборки пакеты из массовой сборки как дополнительные источники пакетов.__

View File

@ -56,8 +56,6 @@ table.table.table-striped ng-show='!processing'
i.fa.fa-lock.text-danger> ng-if='!project.public' i.fa.fa-lock.text-danger> ng-if='!project.public'
a ng-href='{{project.path}}' a ng-href='{{project.path}}'
| {{project.name}} | {{project.name}}
p
| {{project.description}}
.help-block title = '{{project.updated_at_utc}}' .help-block title = '{{project.updated_at_utc}}'
=> t('.updated') => t('.updated')
| {{project.updated_at | amDateFormat:'YYYY-MM-DD HH:mm'}} ( | {{project.updated_at | amDateFormat:'YYYY-MM-DD HH:mm'}} (