Skip to content

Commit

Permalink
Merge pull request #7889 from krauselukas/request_path
Browse files Browse the repository at this point in the history
Dont shorten request source path text in webui2
  • Loading branch information
hennevogel committed Sep 4, 2019
2 parents 3070322 + e138ee5 commit 3f3e8e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/app/helpers/webui/request_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def diff_label(diff)

# rubocop:disable Style/FormatStringToken, Style/FormatString
def request_action_header(action, creator)
source_project_hash = { project: action[:sprj], package: action[:spkg] }
source_project_hash = { project: action[:sprj], package: action[:spkg], trim_to: nil }

case action[:type]
when :submit
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/views/webui2/shared/bs_requests/index.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[
"<%= escape_javascript(fuzzy_time(row.created_at, false)) %>",
<% cache "request-table-row-#{row.id}-#{row.updated_at.to_i}" do %>
"<%= escape_javascript(project_or_package_link(project: row.source_project, package: row.source_package, creator: row.creator, trim_to: 40, short: true)) %>",
"<%= escape_javascript(project_or_package_link(project: row.source_project, package: row.source_package, creator: row.creator, trim_to: nil, short: true)) %>",
"<%= escape_javascript(target_project_link(row)) %>",
"<%= escape_javascript(user_with_realname_and_icon(row.creator, short: true)) %>",
"<%= escape_javascript(new_or_update_request(row)) %>",
Expand Down

0 comments on commit 3f3e8e1

Please sign in to comment.