Merge pull request #412 from abf/rosa-build:408-small_changes
#408 fix mass build link; change default sort
This commit is contained in:
commit
ff61a8b82f
|
@ -38,7 +38,7 @@ module MassBuildHelper
|
||||||
datatable(
|
datatable(
|
||||||
COLUMNS,
|
COLUMNS,
|
||||||
{
|
{
|
||||||
sort_by: "[0, 'asc']",
|
sort_by: "[0, 'desc']",
|
||||||
search_label: '',
|
search_label: '',
|
||||||
placeholder: t('layout.mass_builds.placeholder.description'),
|
placeholder: t('layout.mass_builds.placeholder.description'),
|
||||||
processing: t('layout.processing'),
|
processing: t('layout.processing'),
|
||||||
|
|
|
@ -117,7 +117,9 @@
|
||||||
|
|
||||||
- if @build_list.mass_build_id.present?
|
- if @build_list.mass_build_id.present?
|
||||||
.leftlist= t("activerecord.attributes.mass_build_id")
|
.leftlist= t("activerecord.attributes.mass_build_id")
|
||||||
.rightlist= link_to @build_list.mass_build.name, platform_mass_builds_path(@build_list.save_to_platform)
|
- path = platform_mass_build_path(@build_list.save_to_platform, @build_list.mass_build_id)
|
||||||
|
.rightlist= link_to @build_list.mass_build.name, path
|
||||||
|
|
||||||
.both
|
.both
|
||||||
|
|
||||||
%div{'ng-show' => 'build_list.advisory'}
|
%div{'ng-show' => 'build_list.advisory'}
|
||||||
|
|
Loading…
Reference in New Issue