Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADST-431 #345

Merged
merged 6 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions component/src/main/res/layout/view_actions_list_row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
style="@style/Widget.Alfresco.Component.Primary"
android:layout_width="0dp"
android:layout_height="48dp"
android:textColor="@color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ class ProcessAttachFilesFragment : ProcessBaseFragment(), MavericksView, EntryLi
if (isAdded) {
if (state.listContents.isNotEmpty()) {
binding.tvNoOfAttachments.visibility = View.VISIBLE
binding.tvNoOfAttachments.text = getString(R.string.text_multiple_attachment, state.listContents.size)
val filesHeader = StringBuilder()
filesHeader.append(getString(R.string.text_multiple_attachment, state.listContents.size))
.append("\n")
.append(getString(R.string.process_max_file_size))
binding.tvNoOfAttachments.text = filesHeader
} else {
binding.tvNoOfAttachments.visibility = View.GONE
}
Expand Down
3 changes: 2 additions & 1 deletion process-app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
<string name="no_attached_folder">No Folder Attached</string>
<string name="text_attached_folder">%d folder(s)</string>
<string name="action_info">Info</string>
<string name="file_empty_message">Looks like you haven’t\nadded any files yet.</string>
<string name="file_empty_message">Looks like you haven’t\nadded any files yet\n(Max file size: 10 MB).</string>
aman-alfresco marked this conversation as resolved.
Show resolved Hide resolved
<string name="title_search_folder">Search Folder</string>
<string name="error_hyperlink_invalid_url">%1$s has Invalid URL</string>
<string name="error_no_upload_fields">Not able to attach the selected content in this form.</string>
<string name="process_max_file_size">Please note: Maximum file size for uploads is 10 MB.</string>
</resources>
Loading