Skip to content

Commit

Permalink
empty enterprise list placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
Okuro3499 committed Dec 17, 2024
1 parent f3c7b30 commit a55f0bd
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ abstract class BaseRecyclerFragment<LI> : BaseRecyclerParentFragment<Any?>(), On
"discussions" -> (v as TextView).setText(R.string.no_news)
"survey" -> (v as TextView).setText(R.string.no_surveys)
"submission" -> (v as TextView).setText(R.string.no_submissions)
"teams" -> (v as TextView).setText(R.string.no_teams)
"team" -> (v as TextView).setText(R.string.no_teams)
"enterprise" -> (v as TextView).setText(R.string.no_enterprise)
"chatHistory" -> (v as TextView).setText(R.string.no_chats)
"feedback" -> (v as TextView).setText(R.string.no_feedback)
else -> (v as TextView).setText(R.string.no_data_available_please_check_and_try_again)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class TeamFragment : Fragment(), AdapterTeamList.OnClickTeamItem {
fragmentTeamBinding.rvTeamList.adapter = adapterTeamList
listContentDescription(conditionApplied)
val itemCount = adapterTeamList.itemCount
showNoData(fragmentTeamBinding.tvMessage, itemCount, "teams")
showNoData(fragmentTeamBinding.tvMessage, itemCount, "$type")
if (itemCount == 0) {
fragmentTeamBinding.etSearch.visibility = View.GONE
fragmentTeamBinding.tableTitle.visibility = View.GONE
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1210,5 +1210,6 @@
<string name="share_with_team_enterprise">مشاركة مع الفريق/المؤسسة</string>
<string name="teams">فرق</string>
<string name="community">مجتمع</string>
<string name="no_enterprise">المؤسسات غير متوفرة</string>

</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1210,5 +1210,6 @@
<string name="share_with_team_enterprise">compartir con el equipo/empresa</string>
<string name="teams">equipos</string>
<string name="community">comunidad</string>
<string name="no_enterprise">empresas no disponibles</string>

</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1210,5 +1210,6 @@
<string name="share_with_team_enterprise">partager avec l\'équipe/l\'entreprise</string>
<string name="teams">équipes</string>
<string name="community">communauté</string>
<string name="no_enterprise">entreprises non disponibles</string>

</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-ne/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1210,5 +1210,6 @@
<string name="share_with_team_enterprise">टोली/उद्यमसँग साझा गर्नुहोस्</string>
<string name="teams">टोलीहरू</string>
<string name="community">समुदाय</string>
<string name="no_enterprise">उद्यमहरू उपलब्ध छैनन्</string>

</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values-so/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1210,5 +1210,6 @@
<string name="share_with_team_enterprise">la wadaag kooxda/ganacsiga</string>
<string name="teams">kooxo</string>
<string name="community">bulsho</string>
<string name="no_enterprise">ganacsiyo lama heli karo</string>

</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1210,5 +1210,6 @@
<string name="share_with_team_enterprise">share with team/enterprise</string>
<string name="teams">teams</string>
<string name="community">community</string>
<string name="no_enterprise">enteprises not available</string>

</resources>

0 comments on commit a55f0bd

Please sign in to comment.