Skip to content

Commit

Permalink
Move 'unmerged sources' link to next line
Browse files Browse the repository at this point in the history
because it was hard to see on the same line as the information.
  • Loading branch information
ChrisBr committed Dec 12, 2018
1 parent 3f35662 commit ef74fc3
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
Original file line number Diff line number Diff line change
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 ef74fc3

Please sign in to comment.