* Vietnamese translation incomplete

Business_list.html displays the main business directory listing page

Business_list.html displays the main business directory listing page (English fallback)

Aug. 16, 2025

Posted by admin

 

This template (business_list.html) displays the main business directory listing page. Here’s what it does:

- Extends the main blog base template and uses Django’s translation system. - Sets the page title to “All Businesses – Business Directory”.

Main sections:

1. Hero Section

  • Large, colorful header with a title and subtitle.
  • Search box for users to filter businesses by query, category, and city.

2. Main Content (Bootstrap grid)

  • Left: Filter Sidebar
    • Shows active filters and a “Clear All” button.
    • Quick links to browse by category (with icon, name in current language, and business count).
    • Quick actions: directory home and “Add Business” (if logged in).
  • Right: Results
    • Results summary (number found, pagination info).
    • Businesses grid: Each business is shown as a card with:
      • Image (or placeholder), featured badge if applicable.
      • Name (in current language), category, short description, city, translation/feature icons.
      • Stats: views, phone clicks, website clicks.
      • “View Details” button.
    • Pagination controls for navigating pages.
    • If no businesses found, shows an empty state with a message and “Clear Filters” button.

Styling:

  • Custom CSS for hero, cards, sidebar, stats, and empty state for a modern, clean look.

This page provides a user-friendly, searchable, and filterable interface for browsing all businesses in the directory.

 

Vietnamese translation is not available for this article. Showing English content:

 

This template (business_list.html) displays the main business directory listing page. Here’s what it does:

- Extends the main blog base template and uses Django’s translation system. - Sets the page title to “All Businesses – Business Directory”.

Main sections:

1. Hero Section

  • Large, colorful header with a title and subtitle.
  • Search box for users to filter businesses by query, category, and city.

2. Main Content (Bootstrap grid)

  • Left: Filter Sidebar
    • Shows active filters and a “Clear All” button.
    • Quick links to browse by category (with icon, name in current language, and business count).
    • Quick actions: directory home and “Add Business” (if logged in).
  • Right: Results
    • Results summary (number found, pagination info).
    • Businesses grid: Each business is shown as a card with:
      • Image (or placeholder), featured badge if applicable.
      • Name (in current language), category, short description, city, translation/feature icons.
      • Stats: views, phone clicks, website clicks.
      • “View Details” button.
    • Pagination controls for navigating pages.
    • If no businesses found, shows an empty state with a message and “Clear Filters” button.

Styling:

  • Custom CSS for hero, cards, sidebar, stats, and empty state for a modern, clean look.

This page provides a user-friendly, searchable, and filterable interface for browsing all businesses in the directory.

 

Attached Files

0 files found.

You are viewing this article in public mode. Some features may be limited.