Skip to content

Commit

Permalink
Merge pull request #6594 from ChrisBr/bootstra/package
Browse files Browse the repository at this point in the history
Move 'unmerged sources' link to next line
  • Loading branch information
ChrisBr committed Dec 12, 2018
2 parents 5eedd93 + ef74fc3 commit 8536dcc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/api/app/views/webui2/webui/package/show.html.haml
Expand Up @@ -49,12 +49,14 @@
= link_to('(show merged sources derived from linked package)', package_show_path(project: @project.name, package: @package.name,
rev: @revision_parameter, expand: '1'))
- if @forced_unexpand.present?
%p.card-body
%i
Sources could not be expanded:
= @forced_unexpand
= link_to('Show unmerged sources', package_show_path(project: @project.name, package: @package.name,
rev: @revision_parameter, expand: '0'))
.card-body
%p
%i
Sources could not be expanded:
= @forced_unexpand
%p
= link_to('Show unmerged sources', package_show_path(project: @project.name, package: @package.name,
rev: @revision_parameter, expand: '0'))
- else
= render partial: 'files_view', locals: { project: @project,
package: @package,
Expand Down

0 comments on commit 8536dcc

Please sign in to comment.