clean up job listing, bug fixes

This commit is contained in:
albert
2013-02-17 23:16:56 -05:00
parent 1b780e27ab
commit 2af59642f6
6 changed files with 12 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ class UploadPresenter < Presenter
def status(template)
case @upload.status
when /duplicate: (\d+)/
template.link_to(@upload.status, template.__send__(:post_path, $1))
template.link_to(@upload.status.gsub(/error: RuntimeError - /, ""), template.__send__(:post_path, $1))
else
@upload.status