Bug 1058560

Summary: RFE: Restrict uploadable file types in tool-tip to those compatible to the project type
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: UsabilityAssignee: Michelle Kim <mkim>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.2CC: zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 03:27:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Damian Jansen 2014-01-28 03:21:46 UTC
Description of problem:
On the Source Documents page, the tooltip for the Upload button should display a list of filetypes containing types compatible with only the current project type.

This would be invalidated by https://bugzilla.redhat.com/show_bug.cgi?id=1035959

Version-Release number of selected component (if applicable):
3.2

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in as admin, go to any project
2. Select Create Version, enter a version name and select Gettext for type
3. Press Save, then Source Documents
4. Mouse-over the upload button

Actual results:
"Supported types: .pot .dtd .txt .html .htm .odt .fodt .odp .fodp .ods .fods .odg .fodg .odb .odf"

Expected results:
Should indicate that only .pot files are valid for upload (and so forth for other project types)

Additional info:
The source for the tooltip text is a static jsf.SupportedUploadFormats translation string in zanata-war/src/main/resources/messages.properties

This would be invalidated by https://bugzilla.redhat.com/show_bug.cgi?id=1035959

Comment 2 Damian Jansen 2015-07-14 00:21:39 UTC
Reassigned to PM

Comment 3 Zanata Migrator 2015-07-29 03:27:57 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-278