Skip to content

Commit

Permalink
Merge pull request #886 from AI4Bharat/reopen2
Browse files Browse the repository at this point in the history
add status field to admin panel display for trnaslation and transcrip…
  • Loading branch information
aparna-aa authored Sep 10, 2024
2 parents 2e3b3c4 + 6e1c2db commit c94da1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/transcript/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Show particular fields in the admin panel
class TranscriptAdmin(admin.ModelAdmin):
list_display = ("task", "video", "language", "transcript_type", "updated_at", "id")
list_display = ("task", "video", "language", "transcript_type", "updated_at", "id", "status")
list_filter = ("video", "language", "transcript_type")
search_fields = ("video", "language", "transcript_type")
ordering = ("-updated_at",)
Expand Down
1 change: 1 addition & 0 deletions backend/translation/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class TranslationAdmin(admin.ModelAdmin):
"translation_type",
"updated_at",
"id",
"status",
)
list_filter = ("task", "transcript", "target_language", "translation_type")
search_fields = ("task", "transcript", "target_language", "translation_type")
Expand Down

0 comments on commit c94da1f

Please sign in to comment.