Compare commits
3 Commits
master
...
my-merge-p
| Author | SHA1 | Date |
|---|---|---|
|
|
98eefe2877 | |
|
|
a302ea49dc | |
|
|
ae53c43b29 |
|
|
@ -1,6 +1 @@
|
|||
github: [fabiocaccamo]
|
||||
polar: fabiocaccamo
|
||||
ko_fi: fabiocaccamo
|
||||
liberapay: fabiocaccamo
|
||||
tidelift: pypi/django-admin-interface
|
||||
custom: ["https://www.buymeacoffee.com/fabiocaccamo", "https://www.paypal.me/fabiocaccamo"]
|
||||
|
|
|
|||
|
|
@ -6,3 +6,5 @@ labels: enhancement
|
|||
assignees: fabiocaccamo
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,6 @@
|
|||
version: 2
|
||||
updates:
|
||||
|
||||
- package-ecosystem: "pip"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "monthly"
|
||||
open-pull-requests-limit: 100
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "monthly"
|
||||
open-pull-requests-limit: 100
|
||||
interval: "weekly"
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Pull request
|
||||
about: Submit a pull request for this project
|
||||
assignees: fabiocaccamo
|
||||
|
||||
---
|
||||
|
||||
**Describe your changes**
|
||||
?
|
||||
|
||||
**Related issue**
|
||||
?
|
||||
|
||||
**Checklist before requesting a review**
|
||||
- [ ] I have performed a self-review of my code.
|
||||
- [ ] I have added tests for the proposed changes.
|
||||
- [ ] I have run the tests and there are not errors.
|
||||
|
|
@ -13,10 +13,10 @@ name: "CodeQL"
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ main ]
|
||||
branches: [ master ]
|
||||
schedule:
|
||||
- cron: '26 21 * * 0'
|
||||
|
||||
|
|
@ -39,11 +39,11 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
|
|
@ -54,7 +54,7 @@ jobs:
|
|||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
uses: github/codeql-action/autobuild@v1
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
|
|
@ -68,4 +68,4 @@ jobs:
|
|||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
uses: github/codeql-action/analyze@v1
|
||||
|
|
|
|||
|
|
@ -8,38 +8,17 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
# environment: release
|
||||
permissions:
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Extract release notes
|
||||
id: extract-release-notes
|
||||
uses: ffurrer2/extract-release-notes@v2
|
||||
uses: ffurrer2/extract-release-notes@v1
|
||||
|
||||
- name: Create release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
body: ${{ steps.extract-release-notes.outputs.release_notes }}
|
||||
token: ${{ secrets.WORKFLOWS_CREATE_RELEASE_TOKEN }}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
cache: 'pip'
|
||||
|
||||
- name: Build Package
|
||||
run: |
|
||||
pip install pip --upgrade
|
||||
pip install build
|
||||
python -m build
|
||||
|
||||
- name: Publish on PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
packages-dir: dist/
|
||||
# password: ${{ secrets.WORKFLOWS_PUBLISH_TO_PYPI_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
name: Pre-commit auto-update
|
||||
|
||||
on:
|
||||
# every month
|
||||
schedule:
|
||||
- cron: "0 0 1 * *"
|
||||
# on demand
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
auto-update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- uses: browniebroke/pre-commit-autoupdate-action@main
|
||||
- uses: peter-evans/create-pull-request@v6
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: update/pre-commit-hooks
|
||||
title: Update pre-commit hooks
|
||||
commit-message: "Update pre-commit hooks."
|
||||
body: Update versions of pre-commit hooks to latest version.
|
||||
|
|
@ -12,54 +12,26 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Create matrix
|
||||
uses: fabiocaccamo/create-matrix-action@v4
|
||||
uses: fabiocaccamo/create-matrix-action@v2
|
||||
id: create_matrix
|
||||
with:
|
||||
matrix: |
|
||||
python-version {3.8}, django-version {3.0, 3.1, 3.2, 4.0, 4.1, 4.2}, database {sqlite, postgres}
|
||||
python-version {3.9}, django-version {3.0, 3.1, 3.2, 4.0, 4.1, 4.2}, database {sqlite, postgres}
|
||||
python-version {3.10}, django-version {3.2, 4.0, 4.1, 4.2, 5.0}, database {sqlite, postgres}
|
||||
python-version {3.11}, django-version {4.1, 4.2, 5.0}, database {sqlite, postgres}
|
||||
python-version {3.12}, django-version {4.2, 5.0}, database {sqlite, postgres}
|
||||
python-version {2.7}, django-version {1.8,1.9,1.10,1.11}, database {sqlite,postgres}
|
||||
python-version {3.6}, django-version {1.8,1.9,1.10,1.11,2.0,2.1,2.2,3.0,3.1,3.2}, database {sqlite,postgres}
|
||||
python-version {3.7}, django-version {2.0,2.1,2.2,3.0,3.1,3.2}, database {sqlite,postgres}
|
||||
python-version {3.8}, django-version {2.2,3.0,3.1,3.2}, database {sqlite,postgres}
|
||||
python-version {3.9}, django-version {2.2,3.0,3.1,3.2}, database {sqlite,postgres}
|
||||
python-version {3.10}, django-version {3.2,4.0}, database {sqlite,postgres}
|
||||
|
||||
outputs:
|
||||
matrix: ${{ steps.create_matrix.outputs.matrix }}
|
||||
|
||||
|
||||
lint:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
cache: 'pip'
|
||||
|
||||
- name: Install tools needed
|
||||
run: |
|
||||
sudo apt install gettext
|
||||
python -m pip install --upgrade pip
|
||||
pip install tox
|
||||
|
||||
- name: Check migrations
|
||||
run: |
|
||||
tox -e migrations
|
||||
|
||||
- name: Check translations
|
||||
run: |
|
||||
tox -e translations
|
||||
|
||||
|
||||
test:
|
||||
|
||||
needs: [prepare]
|
||||
needs: prepare
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
@ -80,13 +52,13 @@ jobs:
|
|||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install psycopg2 prerequisites
|
||||
run: sudo apt install libpq-dev
|
||||
run: sudo apt-get install libpq-dev
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pip'
|
||||
|
|
@ -97,29 +69,25 @@ jobs:
|
|||
|
||||
- name: Install django
|
||||
run: |
|
||||
pip install "Django == ${{ matrix.django-version }}.*"
|
||||
pip install "Django ~= ${{ matrix.django-version }}"
|
||||
|
||||
- name: Install requirements
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-test.txt
|
||||
|
||||
- name: Run pre-commit
|
||||
run: |
|
||||
pre-commit run --all-files --show-diff-on-failure --verbose
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
DATABASE_ENGINE: ${{ matrix.database }}
|
||||
run: |
|
||||
coverage run --append --source=admin_interface runtests.py
|
||||
coverage report --show-missing
|
||||
coverage run --append --source=admin_interface setup.py test
|
||||
coverage xml -o ./coverage.xml
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
fail_ci_if_error: false
|
||||
files: ./coverage.xml
|
||||
flags: unittests
|
||||
verbose: true
|
||||
|
||||
|
|
|
|||
|
|
@ -5,10 +5,6 @@ __pycache__/
|
|||
# C extensions
|
||||
*.so
|
||||
|
||||
## Local setup
|
||||
.vscode/
|
||||
.venv/
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
env/
|
||||
|
|
|
|||
|
|
@ -1,32 +0,0 @@
|
|||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.15.2
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: ["--py38-plus"]
|
||||
|
||||
- repo: https://github.com/adamchainz/django-upgrade
|
||||
rev: 1.16.0
|
||||
hooks:
|
||||
- id: django-upgrade
|
||||
args: ["--target-version", "3.0"]
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.3.4
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
- id: ruff-format
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: fix-encoding-pragma
|
||||
args: [--remove]
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
344
CHANGELOG.md
344
CHANGELOG.md
|
|
@ -4,335 +4,175 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.28.6](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.28.6) - 2024-03-07
|
||||
- [python] Fix date hierarchy params. #374 (by [@jeroenpeters1986](https://github.com/jeroenpeters1986) in #375)
|
||||
- [js] Open any link with `_popup=1` query-string parameter in a modal window.
|
||||
- [ci] Bump requirements.
|
||||
- [ci] Bump `pre-commit` hooks.
|
||||
|
||||
## [0.28.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.28.5) - 2024-01-30
|
||||
- [css] Fix related widget height and buttons alignment when there is a multiline label.
|
||||
- [css] Fix inputs height when there is a multiline label.
|
||||
|
||||
## [0.28.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.28.4) - 2024-01-29
|
||||
- [css] Fix header logo not displayed correctly.
|
||||
|
||||
## [0.28.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.28.3) - 2024-01-08
|
||||
- [css] Fix help text horizontal alignment when using `show-fieldsets-as-tabs` / `show-inlines-as-tabs` theme options. #317
|
||||
- [css] Fix file-upload widget margin-left.
|
||||
- [css] Fix related widget links add button position on `many-to-many` selector.
|
||||
- [css] Fix related widget links margin from `select2` (`autocomplete_fields`).
|
||||
- [css] Reduce paginator vertical padding.
|
||||
|
||||
## [0.28.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.28.2) - 2024-01-08
|
||||
- [css] Fix related widget icon alignment. #348 #350
|
||||
|
||||
## [0.28.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.28.1) - 2023-12-28
|
||||
- [python] Fix `TemplateDoesNotExist` when using `django-nested-admin` by returning custom template for other third-party packages. #341 (by [@markdrrr](https://github.com/markdrrr) in #342)
|
||||
- [html] Display language chooser language name uppercase.
|
||||
- [css] Move save buttons to right in change form.
|
||||
- [css] Fix related widget links icons size and vertical alignment.
|
||||
- [css] Fix admin `raw_id_fields` appearance.
|
||||
- [css] Fix `autocomplete_fields` appearance.
|
||||
- [ci] Bump requirements.
|
||||
|
||||
### Contributors
|
||||
- [@markdrrr](https://github.com/markdrrr)
|
||||
|
||||
## [0.28.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.28.0) - 2023-12-21
|
||||
- [html] Remove old `flat-theme` body class.
|
||||
- [html] Remove `type="text/css"` and `type="text/javascript"` attributes.
|
||||
- [css] Fix filter input fields collapsing on different layouts. #338
|
||||
- [css] Fix paginator buttons height.
|
||||
- [css] Fix `foldable-apps` +/- button vertical alignment.
|
||||
- [css] Split `admin-interface-fix.css` CSS file into multiple files for easier debugging.
|
||||
- [css] Rename `form-controls.css` to `sticky-form-controls.css`.
|
||||
- [css] Move third-party compatibility CSS files to a `third-party` folder.
|
||||
- [css] Move `related-modal.css` to related-modal plugin folder.
|
||||
- [third-party] Update compatibility with `django-streamfield`.
|
||||
- [ci] Replace `Black` and `isort` with `Ruff-format`.
|
||||
- [ci] Bump `pre-commit` hooks.
|
||||
|
||||
## [0.27.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.27.0) - 2023-12-05
|
||||
- Add `Python 3.12` support.
|
||||
- Add `Django 5.0` support.
|
||||
- Fix broken language-chooser with `i18n_patterns(..., prefix_default_language=False)`. #327 (by [@julianwachholz](https://github.com/julianwachholz) in #328)
|
||||
- Simplify language-chooser. #327 (by [@julianwachholz](https://github.com/julianwachholz) in #328)
|
||||
- Speed-up test workflow.
|
||||
- Bump requirements.
|
||||
- Bump `pre-commit` hooks.
|
||||
|
||||
### Contributors
|
||||
- [@julianwachholz](https://github.com/julianwachholz)
|
||||
|
||||
## [0.26.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.26.1) - 2023-09-05
|
||||
- Fix logout and theme buttons style. #246
|
||||
- Add Russian translation. (by [@rustzzdevel](https://github.com/rustzzdevel) in #295)
|
||||
- Update Italian translations.
|
||||
- Update Spanish translations. (by [@smunoz-ml](https://github.com/smunoz-ml) in #307)
|
||||
- Prevent multiple `.collapse-toggle` button.
|
||||
- Bump requirements.
|
||||
- Bump `pre-commit` hooks.
|
||||
|
||||
## [0.26.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.26.0) - 2023-05-11
|
||||
- Add options for collapsible inlines. #263 (by [@fabiocaccamo](https://github.com/fabiocaccamo) in #282)
|
||||
- Bump requirements.
|
||||
- Bump `pre-commit` hooks.
|
||||
|
||||
## [0.25.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.25.0) - 2023-04-18
|
||||
- Add `Django 4.2` support.
|
||||
- Drop `Django 2.2` support.
|
||||
- Fix `date_hierarchy` with multiple fields (`ForeignKey`). #244
|
||||
- Fix tabs not working with non-ASCII alphanumeric characters. #237
|
||||
- Fix multidb tests.
|
||||
- Add `css_generic_link_active_color` field to use on active tab (tabbed changeform). #232
|
||||
- Replace `flake8` with `Ruff`.
|
||||
- Switch from `setup.py` to `pyproject.toml`.
|
||||
- Add `pyupgrade` to `pre-commit` config.
|
||||
- Add `django-upgrade` to `pre-commit` hooks.
|
||||
- Upgrade syntax for `Python >= 3.8`.
|
||||
- Run `pre-commit` also with `tox`.
|
||||
- Reformat migrations.
|
||||
- Bump requirements.
|
||||
- Bump `pre-commit` hooks.
|
||||
- Pin test requirements.
|
||||
- Add pull request template.
|
||||
- Add `CODE_OF_CONDUCT.md`. #238
|
||||
- Rename default branch from `master` to `main`.
|
||||
|
||||
## [0.24.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.24.2) - 2022-12-19
|
||||
- Fix modal and popup opening at the same time. #228
|
||||
- Make `Theme.get_active_theme` class method a manager method. (by [@MounirMesselmeni](https://github.com/MounirMesselmeni) in #230)
|
||||
|
||||
## [0.24.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.24.1) - 2022-12-14
|
||||
- Fix modal opener buttons not working when added to the DOM asynchronously. #228
|
||||
- [css] Improve changelist filter margins.
|
||||
|
||||
## [0.24.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.24.0) - 2022-12-11
|
||||
- Drop `Python < 3.8` and `Django < 2.2` versions support. (by [@merwok](https://github.com/merwok) in #220)
|
||||
- Replace `str.format` with `f-strings`.
|
||||
- Remove `post_migrate` signal handler and multi db test.
|
||||
- Add german translation. (by [@derzinn](https://github.com/derzinn) in #222)
|
||||
- Include date hierarchy in quick removal links (by [@merwok](https://github.com/merwok) in #218)
|
||||
- Fix broken tabbed inline name. (by [@VaZark](https://github.com/VaZark) in #221)
|
||||
- Minor cleanups. (by [@merwok](https://github.com/merwok) in #225)
|
||||
- Bump actions and requirements.
|
||||
- [css] Fix inlines vertical alignement. (by [@VaZark](https://github.com/VaZark) in #201)
|
||||
- [css] Fix tabbed changeform tabs text color on focus. (by [@VaZark](https://github.com/VaZark) in #223)
|
||||
- [CI] Add Farsi language to `tests.settings.LANGUAGES`. (by [@merwok](https://github.com/merwok))
|
||||
- [CI] Update `pre-commit` config.
|
||||
- [CI] Automate package build and publish on PyPI.
|
||||
|
||||
## [0.23.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.23.0) - 2022-11-30
|
||||
- Add `Python 3.11` support.
|
||||
- Add tabbed changeform support. (by [@VaZark](https://github.com/VaZark) in #211)
|
||||
- Fix #208 / Do not assume active DB when not specified. (by [@VaZark](https://github.com/VaZark) in #210)
|
||||
- Update translations.
|
||||
- Bump actions and requirements.
|
||||
- [css] Adjust list filter dropdown vertical margins.
|
||||
- [css] Improve nav filter style. #214
|
||||
- [css] Improve language chooser style.
|
||||
- [css] Reduce secondary scrollbars size.
|
||||
- [CI] Update `dependabot.yml`
|
||||
- [CI] Add `pre-commit-autoupdate.yml` workflow.
|
||||
- [CI] Update `pre-commit` hooks.
|
||||
|
||||
## [0.22.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.22.2) - 2022-11-18
|
||||
- [CI] Add `django 4.1` to tests.
|
||||
- [CI] Add `pre-commit` with `black`, `isort` and `flake8`.
|
||||
- Respect `using` in signals. #199 (by [@VaZark](https://github.com/VaZark) in #200)
|
||||
- Remove translations line numbers to avoid `lint` step failures.
|
||||
|
||||
## [0.22.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.22.1) - 2022-10-13
|
||||
- Fix `KeyError` raised by `django-rangefilter`.
|
||||
- [css] Add `django-rangefilter` style optimizations.
|
||||
- [css] Fix list-filter dropdown vertical margins.
|
||||
- [css] Fix calendar prev/next arrows style.
|
||||
|
||||
## [0.22.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.22.0) - 2022-10-12
|
||||
- Add CI checks for migrations and translations. #184 (by [@merwok](https://github.com/merwok) in #186)
|
||||
- Add option for list filter quick remove. #181 (by [@merwok](https://github.com/merwok) in #183)
|
||||
- [css] Fix left/right scrolling broken with django-import-export. #165
|
||||
- [html] Fix duplicated welcome message. #185
|
||||
|
||||
## [0.21.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.21.0) - 2022-10-06
|
||||
- Add language chooser control option (default select, minimal select). #136
|
||||
- Add option to make active list filters more visible. #174 (by [@merwok](https://github.com/merwok) in #178)
|
||||
- Add support for collapsible fieldsets that start expanded. #173 (by [@merwok](https://github.com/merwok) in #177)
|
||||
- [js] Fix modal window not closing on save with `django >= 4.0`. #169
|
||||
- [css] Move `language-chooser` style to its own CSS file.
|
||||
- [css] Fix sticky list filter scrolling. #175
|
||||
- [css] Fix paginator missing `border-top` on mobile.
|
||||
|
||||
## [0.20.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.20.0) - 2022-08-25
|
||||
- Add `django-streamfield` compatibility.
|
||||
- Add `django-streamfield` compatibility.
|
||||
|
||||
## [0.19.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.19.2) - 2022-08-04
|
||||
- Fix `hashlib` compatibility with `FIPS` enabled systems. #167 (by [@jonlev1n](https://github.com/jonlev1n) in #168)
|
||||
- Fix `hashlib` compatibility with `FIPS` enabled systems. #167 (by [@jonlev1n](https://github.com/jonlev1n) in #168)
|
||||
|
||||
## [0.19.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.19.1) - 2022-05-14
|
||||
- [css] Fixed dashboard alignment when recent-actions are not visible.
|
||||
- [css] Fixed dashboard alignment when recent-actions are not visible.
|
||||
|
||||
## [0.19.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.19.0) - 2022-03-08
|
||||
- Converted dynamic inline CSS to external static CSS using CSS variables. #157 #93 (thanks to [@Mustafa-Abu-Ghazy](https://github.com/Mustafa-Abu-Ghazy))
|
||||
- Converted dynamic inline CSS to external static CSS using CSS variables. #157 #93 (thanks to [@Mustafa-Abu-Ghazy](https://github.com/Mustafa-Abu-Ghazy))
|
||||
|
||||
## [0.18.7](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.7) - 2022-02-24
|
||||
- Removed public disclosures of the lib's version. #154 (thanks to [@mintyPT](https://github.com/mintyPT))
|
||||
- Reformatted code with **Black**.
|
||||
- Removed public disclosures of the lib's version. #154 (thanks to [@mintyPT](https://github.com/mintyPT))
|
||||
- Reformatted code with **Black**.
|
||||
|
||||
## [0.18.6](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.6) - 2022-02-04
|
||||
- Added polish (`pl`) localization by [paduszyk](https://github.com/paduszyk). #152
|
||||
- Fixed login logo `max-width` and title `color`.
|
||||
- Added polish (`pl`) localization by [paduszyk](https://github.com/paduszyk). #152
|
||||
- Fixed login logo `max-width` and title `color`.
|
||||
|
||||
## [0.18.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.5) - 2022-01-21
|
||||
- Added portuguese brazil (`pt_BR`) localization by [leandromsd](https://github.com/leandromsd). #149
|
||||
- Fixed body scroll reset to top when opening related modal. #150
|
||||
- Added portuguese brazil (`pt_BR`) localization by [leandromsd](https://github.com/leandromsd). #149
|
||||
- Fixed body scroll reset to top when opening related modal. #150
|
||||
|
||||
## [0.18.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.4) - 2022-01-05
|
||||
- Added official django 4.0 support.
|
||||
- Added link to admin home page on logo and title. #147
|
||||
- Fixed collapsed inlines rounded bottom borders.
|
||||
- Fixed missing comma in tests settings `MIDDLEWARE_CLASSES`. #145
|
||||
- Added official django 4.0 support.
|
||||
- Added link to admin home page on logo and title. #147
|
||||
- Fixed collapsed inlines rounded bottom borders.
|
||||
- Fixed missing comma in tests settings `MIDDLEWARE_CLASSES`. #145
|
||||
|
||||
## [0.18.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.3) - 2021-12-07
|
||||
- Added official python 3.10 support.
|
||||
- Replaced travis with GitHub action workflow. #142
|
||||
- Fixed `check_installed_apps` checks.
|
||||
- Fixed django default appconfig deprecation warning. #141
|
||||
- Added official python 3.10 support.
|
||||
- Replaced travis with GitHub action workflow. #142
|
||||
- Fixed `check_installed_apps` checks.
|
||||
- Fixed django default appconfig deprecation warning. #141
|
||||
|
||||
## [0.18.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.2) - 2021-10-25
|
||||
- Fixed migration error.
|
||||
- Fixed migration error.
|
||||
|
||||
## [0.18.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.1) - 2021-10-25
|
||||
- Removed wrong migration.
|
||||
- Removed wrong migration.
|
||||
|
||||
## [0.18.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.0) - 2021-10-24
|
||||
- Added foldable apps support. #117
|
||||
- Removed `css` field from `Theme` model.
|
||||
- Added foldable apps support. #117
|
||||
- Removed `css` field from `Theme` model.
|
||||
|
||||
## [0.17.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.17.3) - 2021-10-12
|
||||
- Fixed `FileExtensionValidator` `TypeError` on django < 1.11.
|
||||
- Fixed `FileExtensionValidator` `TypeError` on django < 1.11.
|
||||
|
||||
## [0.17.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.17.2) - 2021-10-08
|
||||
- Fixed `FileExtensionValidator` `TypeError` on django < 1.11.
|
||||
- Fixed `FileExtensionValidator` `TypeError` on django < 1.11.
|
||||
|
||||
## [0.17.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.17.1) - 2021-09-24
|
||||
- Fixed `TemplateDoesNotExist` error on `django==4.0.a1` removing checking condition for `colorfield` package. #134
|
||||
- Fixed favicon fetching incompatible with `django-storages` `S3`. #128
|
||||
- Fixed `TemplateDoesNotExist` error on `django==4.0.a1` removing checking condition for `colorfield` package. #134
|
||||
- Fixed favicon fetching incompatible with `django-storages` `S3`. #128
|
||||
|
||||
## [0.17.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.17.0) - 2021-09-16
|
||||
- Added `logo_max_width` and `logo_max_height`. #127
|
||||
- Added `logo_max_width` and `logo_max_height`. #127
|
||||
|
||||
## [0.16.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.16.4) - 2021-09-04
|
||||
- Fixed `0020_module_selected_colors` migration for multiple dbs. #132
|
||||
- Fixed sticky pagination `width` and `border-bottom`.
|
||||
- Fixed inlines vertical overlow.
|
||||
- Improved header elements vertical alignment.
|
||||
- Fixed `0020_module_selected_colors` migration for multiple dbs. #132
|
||||
- Fixed sticky pagination `width` and `border-bottom`.
|
||||
- Fixed inlines vertical overlow.
|
||||
- Improved header elements vertical alignment.
|
||||
|
||||
## [0.16.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.16.3) - 2021-04-26
|
||||
- Added `compat` module.
|
||||
- Added missing `0021_file_extension_validator` migration. #126
|
||||
- Formatted migrations.
|
||||
- Added `compat` module.
|
||||
- Added missing `0021_file_extension_validator` migration. #126
|
||||
- Formatted migrations.
|
||||
|
||||
## [0.16.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.16.2) - 2021-04-23
|
||||
- Added `python 3.9` and `django 3.2` to CI.
|
||||
- Added `FileExtensionValidator` to `logo` and `favicon` fields. #112
|
||||
- Fixed `models.W042` warning on `django 3.2`.
|
||||
- Fixed header `min-height`.
|
||||
- Fixed selects `min-width`.
|
||||
- Fixed changelist search, actions and submit button horizontal margins.
|
||||
- Fixed related widget wrapper margin/padding with normal select and in inlines.
|
||||
- Fixed tabular inlines horizontal scroll.
|
||||
- Added `python 3.9` and `django 3.2` to CI.
|
||||
- Added `FileExtensionValidator` to `logo` and `favicon` fields. #112
|
||||
- Fixed `models.W042` warning on `django 3.2`.
|
||||
- Fixed header `min-height`.
|
||||
- Fixed selects `min-width`.
|
||||
- Fixed changelist search, actions and submit button horizontal margins.
|
||||
- Fixed related widget wrapper margin/padding with normal select and in inlines.
|
||||
- Fixed tabular inlines horizontal scroll.
|
||||
|
||||
## [0.16.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.16.1) - 2021-04-07
|
||||
- Fixed style of "Delete" and "Save" buttons in the delete confirmation page. #123
|
||||
- Overridden dark-mode css variables introduced in `django 3.2`. #124
|
||||
- Fixed style of "Delete" and "Save" buttons in the delete confirmation page. #123
|
||||
- Overridden dark-mode css variables introduced in `django 3.2`. #124
|
||||
|
||||
## [0.16.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.16.0) - 2021-03-30
|
||||
- Added customizable colors for selected apps and models in dashboard. #122
|
||||
- Added `responsive_rtl.css` stylesheet. #98
|
||||
- Updated `vazir-font` version to `27.2.2`. #98
|
||||
- Added customizable colors for selected apps and models in dashboard. #122
|
||||
- Added `responsive_rtl.css` stylesheet. #98
|
||||
- Updated `vazir-font` version to `27.2.2`. #98
|
||||
|
||||
## [0.15.6](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.6) - 2021-03-26
|
||||
- Fixed `show_change_link` related modal support. #120
|
||||
- Fixed inline changelink style.
|
||||
- Made globally available `presentRelatedObjectModal` and `presentRelatedObjectModalOnClickOn` js functions.
|
||||
- Fixed `show_change_link` related modal support. #120
|
||||
- Fixed inline changelink style.
|
||||
- Made globally available `presentRelatedObjectModal` and `presentRelatedObjectModalOnClickOn` js functions.
|
||||
|
||||
## [0.15.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.5) - 2021-03-02
|
||||
- Fixed sticky submit and pagination `z-index` issue with related modal.
|
||||
- Fixed sticky submit and pagination `z-index` issue with related modal.
|
||||
|
||||
## [0.15.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.4) - 2021-03-01
|
||||
- Fixed sticky submit and pagination `z-index` issue with sticky `list_filter` and `django-json-widget`.
|
||||
- Fixed sticky submit and pagination `z-index` issue with sticky `list_filter` and `django-json-widget`.
|
||||
|
||||
## [0.15.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.3) - 2021-02-08
|
||||
- Fixed sticky submit and pagination width when `admin.site.enable_nav_sidebar = False`. #113
|
||||
- Fixed sticky submit and pagination width when `admin.site.enable_nav_sidebar = False`. #113
|
||||
|
||||
## [0.15.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.2) - 2021-02-03
|
||||
- Fixed body classes template rendering.
|
||||
- Improved sticky submit and pagination backward compatibility.
|
||||
- Fixed body classes template rendering.
|
||||
- Improved sticky submit and pagination backward compatibility.
|
||||
|
||||
## [0.15.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.1) - 2021-02-03
|
||||
- Fixed and improved sticky form controls and pagination style.
|
||||
- Fixed and improved sticky form controls and pagination style.
|
||||
|
||||
## [0.15.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.0) - 2021-02-03
|
||||
- Added sticky form controls and pagination options. #110
|
||||
- Added support to 4-digit language code in language chooser. #111
|
||||
- Added theme css variables for third-party libraries.
|
||||
- Fixed app module section link hover color.
|
||||
- Added sticky form controls and pagination options. #110
|
||||
- Added support to 4-digit language code in language chooser. #111
|
||||
- Added theme css variables for third-party libraries.
|
||||
- Fixed app module section link hover color.
|
||||
|
||||
## [0.14.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.14.2) - 2021-01-04
|
||||
- Fixed tabular inline scroll bar. #101
|
||||
- Fixed module header selected link color. #102
|
||||
- Fixed main content width when `admin.site.enable_nav_sidebar = False`. #105
|
||||
- Fixed tabular inline scroll bar. #101
|
||||
- Fixed module header selected link color. #102
|
||||
- Fixed main content width when `admin.site.enable_nav_sidebar = False`. #105
|
||||
|
||||
## [0.14.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.14.1) - 2020-11-12
|
||||
- Fixed sticky list-filter floating. #100
|
||||
- Fixed sticky list-filter floating. #100
|
||||
|
||||
## [0.14.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.14.0) - 2020-10-15
|
||||
- Added list filter sticky option (only for `django >= 3.1.2`).
|
||||
- Enabled list filter dropdown by default.
|
||||
- Fixed changelist searchbar style.
|
||||
- Added list filter sticky option (only for `django >= 3.1.2`).
|
||||
- Enabled list filter dropdown by default.
|
||||
- Fixed changelist searchbar style.
|
||||
|
||||
## [0.13.7](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.13.7) - 2020-10-14
|
||||
- Improved responsive widgets style.
|
||||
- Prevented body horizontal scroll.
|
||||
- Fixed tabular inline horizontal scroll.
|
||||
- Fixed changelist filter min-width.
|
||||
- Fixed changelist and toolbar theme rounded corners.
|
||||
- Fixed calendar and timelist buttons theme color.
|
||||
- Fixed list filter select size.
|
||||
- Fixed content max-width with `django >= 3.1`.
|
||||
- Improved responsive widgets style.
|
||||
- Prevented body horizontal scroll.
|
||||
- Fixed tabular inline horizontal scroll.
|
||||
- Fixed changelist filter min-width.
|
||||
- Fixed changelist and toolbar theme rounded corners.
|
||||
- Fixed calendar and timelist buttons theme color.
|
||||
- Fixed list filter select size.
|
||||
- Fixed content max-width with `django >= 3.1`.
|
||||
|
||||
## [0.13.6](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.13.6) - 2020-10-14
|
||||
- Added persian language. #98
|
||||
- Fixed logo max-width on small screens.
|
||||
- Fixed content max-width when nav-sidebar is collapsed.
|
||||
- Fixed changelist max-width on medium screens.
|
||||
- Added persian language. #98
|
||||
- Fixed logo max-width on small screens.
|
||||
- Fixed content max-width when nav-sidebar is collapsed.
|
||||
- Fixed changelist max-width on medium screens.
|
||||
|
||||
## [0.13.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.13.5) - 2020-09-15
|
||||
- Fixed loaddata error with initial_data.json fixture. #97
|
||||
- Fixed tests warning (admin.W411).
|
||||
- Fixed changelist thead links color.
|
||||
- Fixed changelist filter links hover color.
|
||||
- Fixed loaddata error with initial_data.json fixture. #97
|
||||
- Fixed tests warning (admin.W411).
|
||||
- Fixed changelist thead links color.
|
||||
- Fixed changelist filter links hover color.
|
||||
|
||||
## [0.13.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.13.4) - 2020-09-04
|
||||
- Added conditional imports to avoid Django deprecation warnings. #92
|
||||
- Changed admin header content vertical align to top.
|
||||
- Added conditional imports to avoid Django deprecation warnings. #92
|
||||
- Changed admin header content vertical align to top.
|
||||
|
||||
## [0.13.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.13.3) - 2020-09-02
|
||||
- Added `django-json-widget` theming support.
|
||||
- Added `django-json-widget` theming support.
|
||||
|
||||
## [0.13.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.13.2) - 2020-08-21
|
||||
- Fixed related modal not closing on edit save and create with django 3.1 - #96
|
||||
- Fixed related modal not closing on edit save and create with django 3.1 - #96
|
||||
|
||||
## [0.13.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.13.1) - 2020-08-18
|
||||
- Improved header and nav-sidebar style.
|
||||
- Added `max-width` to logo.
|
||||
- Added `requirements-dev.txt`
|
||||
- Improved header and nav-sidebar style.
|
||||
- Added `max-width` to logo.
|
||||
- Added `requirements-dev.txt`
|
||||
|
||||
## [0.13.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.13.0) - 2020-08-05
|
||||
- Improved nav-sidebar style (`django>=3.1` support).
|
||||
- Improved header style.
|
||||
- Improved nav-sidebar style (`django>=3.1` support).
|
||||
- Improved header style.
|
||||
|
||||
## [0.12.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.12.3) - 2020-07-20
|
||||
- Fixed unreadable text in autocomplete multi-selects. #83
|
||||
|
|
|
|||
|
|
@ -1,128 +0,0 @@
|
|||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
We as members, contributors, and leaders pledge to make participation in our
|
||||
community a harassment-free experience for everyone, regardless of age, body
|
||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||
identity and expression, level of experience, education, socio-economic status,
|
||||
nationality, personal appearance, race, religion, or sexual identity
|
||||
and orientation.
|
||||
|
||||
We pledge to act and interact in ways that contribute to an open, welcoming,
|
||||
diverse, inclusive, and healthy community.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to a positive environment for our
|
||||
community include:
|
||||
|
||||
* Demonstrating empathy and kindness toward other people
|
||||
* Being respectful of differing opinions, viewpoints, and experiences
|
||||
* Giving and gracefully accepting constructive feedback
|
||||
* Accepting responsibility and apologizing to those affected by our mistakes,
|
||||
and learning from the experience
|
||||
* Focusing on what is best not just for us as individuals, but for the
|
||||
overall community
|
||||
|
||||
Examples of unacceptable behavior include:
|
||||
|
||||
* The use of sexualized language or imagery, and sexual attention or
|
||||
advances of any kind
|
||||
* Trolling, insulting or derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or email
|
||||
address, without their explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Enforcement Responsibilities
|
||||
|
||||
Community leaders are responsible for clarifying and enforcing our standards of
|
||||
acceptable behavior and will take appropriate and fair corrective action in
|
||||
response to any behavior that they deem inappropriate, threatening, offensive,
|
||||
or harmful.
|
||||
|
||||
Community leaders have the right and responsibility to remove, edit, or reject
|
||||
comments, commits, code, wiki edits, issues, and other contributions that are
|
||||
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
||||
decisions when appropriate.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies within all community spaces, and also applies when
|
||||
an individual is officially representing the community in public spaces.
|
||||
Examples of representing our community include using an official e-mail address,
|
||||
posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported to the community leaders responsible for enforcement at
|
||||
fabio.caccamo@gmail.com.
|
||||
All complaints will be reviewed and investigated promptly and fairly.
|
||||
|
||||
All community leaders are obligated to respect the privacy and security of the
|
||||
reporter of any incident.
|
||||
|
||||
## Enforcement Guidelines
|
||||
|
||||
Community leaders will follow these Community Impact Guidelines in determining
|
||||
the consequences for any action they deem in violation of this Code of Conduct:
|
||||
|
||||
### 1. Correction
|
||||
|
||||
**Community Impact**: Use of inappropriate language or other behavior deemed
|
||||
unprofessional or unwelcome in the community.
|
||||
|
||||
**Consequence**: A private, written warning from community leaders, providing
|
||||
clarity around the nature of the violation and an explanation of why the
|
||||
behavior was inappropriate. A public apology may be requested.
|
||||
|
||||
### 2. Warning
|
||||
|
||||
**Community Impact**: A violation through a single incident or series
|
||||
of actions.
|
||||
|
||||
**Consequence**: A warning with consequences for continued behavior. No
|
||||
interaction with the people involved, including unsolicited interaction with
|
||||
those enforcing the Code of Conduct, for a specified period of time. This
|
||||
includes avoiding interactions in community spaces as well as external channels
|
||||
like social media. Violating these terms may lead to a temporary or
|
||||
permanent ban.
|
||||
|
||||
### 3. Temporary Ban
|
||||
|
||||
**Community Impact**: A serious violation of community standards, including
|
||||
sustained inappropriate behavior.
|
||||
|
||||
**Consequence**: A temporary ban from any sort of interaction or public
|
||||
communication with the community for a specified period of time. No public or
|
||||
private interaction with the people involved, including unsolicited interaction
|
||||
with those enforcing the Code of Conduct, is allowed during this period.
|
||||
Violating these terms may lead to a permanent ban.
|
||||
|
||||
### 4. Permanent Ban
|
||||
|
||||
**Community Impact**: Demonstrating a pattern of violation of community
|
||||
standards, including sustained inappropriate behavior, harassment of an
|
||||
individual, or aggression toward or disparagement of classes of individuals.
|
||||
|
||||
**Consequence**: A permanent ban from any sort of public interaction within
|
||||
the community.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
||||
version 2.0, available at
|
||||
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
||||
|
||||
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
||||
enforcement ladder](https://github.com/mozilla/diversity).
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see the FAQ at
|
||||
https://www.contributor-covenant.org/faq. Translations are available at
|
||||
https://www.contributor-covenant.org/translations.
|
||||
133
README.md
133
README.md
|
|
@ -2,23 +2,24 @@
|
|||
[](https://www.djangoproject.com/)
|
||||
|
||||
[](https://pypi.org/project/django-admin-interface/)
|
||||
[](https://pepy.tech/project/django-admin-interface)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface/stargazers)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface/blob/main/LICENSE.txt)
|
||||
[](https://pepy.tech/project/django-admin-interface)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface/)
|
||||
[](https://badges.pufler.dev)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface/blob/master/LICENSE.txt)
|
||||
|
||||
[](https://results.pre-commit.ci/latest/github/fabiocaccamo/django-admin-interface/main)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface)
|
||||
[](https://codecov.io/gh/fabiocaccamo/django-admin-interface)
|
||||
[](https://www.codacy.com/app/fabiocaccamo/django-admin-interface)
|
||||
[](https://codeclimate.com/github/fabiocaccamo/django-admin-interface/)
|
||||
[](https://github.com/psf/black)
|
||||
[](https://github.com/astral-sh/ruff)
|
||||
[](https://github.com/psf/black)
|
||||
|
||||
# django-admin-interface
|
||||
django-admin-interface is a modern **responsive flat admin interface customizable by the admin itself**.
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Features
|
||||
- Beautiful default **django-theme**
|
||||
- Themes management and customization *(you can **customize admin title, logo and colors**)*
|
||||
|
|
@ -26,62 +27,51 @@ django-admin-interface is a modern **responsive flat admin interface customizabl
|
|||
- Related modal *(instead of the old popup window)*
|
||||
- Environment name/marker
|
||||
- Language chooser
|
||||
- Foldable apps *(accordions in the navigation bar)*
|
||||
- [Collapsible fieldsets](https://docs.djangoproject.com/en/4.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.fieldsets) can have their initial state expanded instead of collapsed
|
||||
- `NEW` Collapsible inlines
|
||||
- `NEW` Tabbed fieldsets and inlines
|
||||
- `NEW` List filter removal links
|
||||
- `NEW` List filter highlight selected options
|
||||
- List filter dropdown
|
||||
- List filter sticky
|
||||
- Form controls sticky *(pagination and save/delete buttons)*
|
||||
- Compatibility / style optimizations for:
|
||||
- `NEW` **Foldable apps** *(accordions in the navigation bar)*
|
||||
- `NEW` **List filter sticky**
|
||||
- `NEW` **Form controls sticky** *(pagination and save/delete buttons)*
|
||||
- Compatibility / Style optimizations for:
|
||||
- `django-ckeditor`
|
||||
- `django-dynamic-raw-id`
|
||||
- `django-json-widget`
|
||||
- `django-modeltranslation`
|
||||
- `django-rangefilter`
|
||||
- `django-streamfield`
|
||||
- `django-tabbed-admin`
|
||||
- `django-streamfield`
|
||||
- `sorl-thumbnail`
|
||||
- Translated in many languages: `de`, `es`, `fa`, `fr`, `it`, `pl`, `pt_BR`, `ru`, `tr`
|
||||
|
||||
---
|
||||
|
||||
## Installation
|
||||
- Run `pip install django-admin-interface`
|
||||
- Add `admin_interface` and `colorfield` to `settings.INSTALLED_APPS` **before** `django.contrib.admin`
|
||||
- Add `admin_interface`, `flat_responsive`, `flat` and `colorfield` to `settings.INSTALLED_APPS` **before** `django.contrib.admin`
|
||||
```python
|
||||
INSTALLED_APPS = (
|
||||
#...
|
||||
"admin_interface",
|
||||
"flat_responsive", # only if django version < 2.0
|
||||
"flat", # only if django version < 1.9
|
||||
"colorfield",
|
||||
#...
|
||||
"django.contrib.admin",
|
||||
#...
|
||||
)
|
||||
|
||||
# only if django version >= 3.0
|
||||
X_FRAME_OPTIONS = "SAMEORIGIN"
|
||||
SILENCED_SYSTEM_CHECKS = ["security.W019"]
|
||||
```
|
||||
- Run `python manage.py migrate`
|
||||
- Run `python manage.py collectstatic`
|
||||
- Restart your application server
|
||||
|
||||
#### Upgrade
|
||||
- Run `pip install django-admin-interface --upgrade`
|
||||
- Run `python manage.py migrate` *(add* `--fake-initial` *if you are upgrading from 0.1.0 version)*
|
||||
- Run `python manage.py collectstatic --clear`
|
||||
- Restart your application server
|
||||
|
||||
> [!WARNING]
|
||||
> if you want use modals instead of popup windows, ensure to add `X_FRAME_OPTIONS = "SAMEORIGIN"` setting.
|
||||
|
||||
### Optional features
|
||||
To make a fieldset start expanded with a `Hide` button to collapse, add the class `"expanded"` to its classes:
|
||||
```python
|
||||
class MyModelAdmin(admin.ModelAdmin):
|
||||
# ...
|
||||
fieldsets = [
|
||||
("Section title", {
|
||||
"classes": ("collapse", "expanded"),
|
||||
"fields": (...),
|
||||
}),
|
||||
]
|
||||
# ...
|
||||
```
|
||||
---
|
||||
|
||||
## Optional themes
|
||||
This package ships with optional themes as fixtures, they can be installed using the [loaddata admin command](https://docs.djangoproject.com/en/1.11/ref/django-admin/#django-admin-loaddata). Optional themes are activated on installation.
|
||||
|
|
@ -139,7 +129,6 @@ You can add **theme support to existing third-party libraries** using the follow
|
|||
- `--admin-interface-module-link-hover-color`
|
||||
- `--admin-interface-generic-link-color`
|
||||
- `--admin-interface-generic-link-hover-color`
|
||||
- `--admin-interface-generic-link-active-color`
|
||||
|
||||
#### Buttons
|
||||
- `--admin-interface-save-button-background-color`
|
||||
|
|
@ -155,6 +144,8 @@ You can add **theme support to existing third-party libraries** using the follow
|
|||
- `--admin-interface-related-modal-border-radius`
|
||||
- `--admin-interface-related-modal-close-button-display`
|
||||
|
||||
---
|
||||
|
||||
## Screenshots
|
||||
###### Admin login
|
||||

|
||||
|
|
@ -168,40 +159,7 @@ You can add **theme support to existing third-party libraries** using the follow
|
|||
###### Admin theme customization
|
||||

|
||||
|
||||
## Localization
|
||||
At the moment, this package has been translated into the following languages: `de`, `es`, `fa`, `fr`, `it`, `pl`, `pt_BR`, `tr`.
|
||||
|
||||
### Translate into another language
|
||||
|
||||
- Run `python -m django makemessages --ignore ".tox" --ignore "venv" --add-location "file" --extension "html,py" --locale "it"` *(example for Italian localization)*
|
||||
|
||||
- Update translations in `admin_interface/locale/it/LC_MESSAGES/django.po`
|
||||
|
||||
- Run `python -m django compilemessages --ignore ".tox" --ignore "venv"`
|
||||
|
||||
### Update translations
|
||||
|
||||
If you do some changes to the project, remember to update translations, because if the translations files are not up-to-date, the `lint` step in the CI will fail:
|
||||
- Run `tox -e translations`
|
||||
|
||||
## Caching
|
||||
|
||||
This package uses caching to improve theme load time and overall performance.
|
||||
You can customise the app caching options using `settings.CACHES["admin_interface"]` setting, otherwise the `"default"` cache will be used:
|
||||
|
||||
```python
|
||||
CACHES = {
|
||||
# ...
|
||||
"admin_interface": {
|
||||
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
|
||||
"TIMEOUT": 60 * 5,
|
||||
},
|
||||
# ...
|
||||
}
|
||||
```
|
||||
|
||||
> [!WARNING]
|
||||
> There is a [known compatibility issue](https://github.com/fabiocaccamo/django-admin-interface/issues/356) when using this package with `django-redis`, more specifically, using the `JSONSerializer` the following error is raised: `TypeError: Object of type Theme is not JSON serializable`, to mitigate this problem, simply use a specific cache for this app that does not use any `json` serializer.
|
||||
---
|
||||
|
||||
## FAQ
|
||||
|
||||
|
|
@ -210,16 +168,6 @@ CACHES = {
|
|||
|
||||
You can use [django-apptemplates](https://github.com/bittner/django-apptemplates), then add `{% extends "admin_interface:admin/base_site.html" %}` to your `base_site.html`
|
||||
|
||||
### Custom `LocaleMiddleware` warning
|
||||
> I'm using a `django.middleware.locale.LocaleMiddleware` subclass, but I see an unnecessary warning for missing `django.middleware.locale.LocaleMiddleware`, what can I do?
|
||||
|
||||
You can simply ignore the warning (this has been discussed [here](https://github.com/fabiocaccamo/django-admin-interface/issues/354))
|
||||
```python
|
||||
import warnings
|
||||
|
||||
warnings.filterwarnings("ignore", module="admin_interface.templatetags.admin_interface_tags")
|
||||
```
|
||||
|
||||
### Language Chooser not showing
|
||||
> I have enabled the **Language Chooser**, but it is not visible in the admin, what should I do?
|
||||
|
||||
|
|
@ -253,14 +201,7 @@ urlpatterns = [
|
|||
urlpatterns += i18n_patterns(path("admin/", admin.site.urls))
|
||||
```
|
||||
|
||||
### Open any url in modal window
|
||||
> I have an application with some cross-links in the admin and I would like to open them in modal windows instead of same/new window, how can I do?
|
||||
|
||||
You just need to add `_popup=1` query-string parameter to the urls:
|
||||
```python
|
||||
url = reverse(f"admin:myapp_mymodel_change", args=[mymodel_instance.pk])
|
||||
url = f"{url}?_popup=1"
|
||||
```
|
||||
---
|
||||
|
||||
## Testing
|
||||
```bash
|
||||
|
|
@ -276,25 +217,15 @@ python -m pip install --upgrade pip
|
|||
# install requirements
|
||||
pip install -r requirements.txt -r requirements-test.txt
|
||||
|
||||
# install pre-commit to run formatters and linters
|
||||
pre-commit install --install-hooks
|
||||
|
||||
# run tests
|
||||
tox
|
||||
# or
|
||||
python runtests.py
|
||||
python setup.py test
|
||||
# or
|
||||
python -m django test --settings "tests.settings"
|
||||
```
|
||||
|
||||
## Contributing
|
||||
Contributions are always welcome, please follow these steps for submitting good quality PRs:
|
||||
|
||||
- :exclamation: **Open an issue**, please don't submit any PR that doesn't refer to an existing issue.
|
||||
- :computer: **Work on changes**, changes should *preferably* be covered by tests to avoid regressions in the future.
|
||||
- :globe_with_meridians: **Update the translations** files.
|
||||
- :test_tube: **Run tests** ensuring that there are no errors.
|
||||
- :inbox_tray: **Submit a pull-request** and mark it as **"Ready for review"** only if it passes the `CI`.
|
||||
---
|
||||
|
||||
## License
|
||||
Released under [MIT License](LICENSE.txt).
|
||||
|
|
|
|||
|
|
@ -1,17 +1,4 @@
|
|||
from admin_interface.metadata import (
|
||||
__author__,
|
||||
__copyright__,
|
||||
__description__,
|
||||
__license__,
|
||||
__title__,
|
||||
__version__,
|
||||
)
|
||||
import django
|
||||
|
||||
__all__ = [
|
||||
"__author__",
|
||||
"__copyright__",
|
||||
"__description__",
|
||||
"__license__",
|
||||
"__title__",
|
||||
"__version__",
|
||||
]
|
||||
if django.VERSION < (3, 2):
|
||||
default_app_config = "admin_interface.apps.AdminInterfaceConfig"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from django.contrib import admin
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.contrib.auth import models as auth_models
|
||||
|
||||
from admin_interface.compat import gettext_lazy as _
|
||||
from admin_interface.models import Theme, UserTheme
|
||||
|
||||
# from .import_tema.admin import ImportMixin
|
||||
|
||||
|
||||
class UserInline(admin.TabularInline):
|
||||
model = UserTheme
|
||||
|
|
@ -12,8 +13,6 @@ class UserInline(admin.TabularInline):
|
|||
autocomplete_fields = ('user', )
|
||||
|
||||
|
||||
@admin.register(Theme)
|
||||
#class ThemeAdmin(ImportMixin, admin.ModelAdmin):
|
||||
class ThemeAdmin(admin.ModelAdmin):
|
||||
inlines = [UserInline, ]
|
||||
|
||||
|
|
@ -21,7 +20,6 @@ class ThemeAdmin(admin.ModelAdmin):
|
|||
"name",
|
||||
"active",
|
||||
"demo",
|
||||
"default",
|
||||
)
|
||||
list_editable = ("active",)
|
||||
list_per_page = 100
|
||||
|
|
@ -36,7 +34,6 @@ class ThemeAdmin(admin.ModelAdmin):
|
|||
"name",
|
||||
"active",
|
||||
"demo",
|
||||
"default",
|
||||
),
|
||||
},
|
||||
),
|
||||
|
|
@ -58,7 +55,6 @@ class ThemeAdmin(admin.ModelAdmin):
|
|||
"classes": ("wide",),
|
||||
"fields": (
|
||||
"language_chooser_active",
|
||||
"language_chooser_control",
|
||||
"language_chooser_display",
|
||||
),
|
||||
},
|
||||
|
|
@ -122,7 +118,6 @@ class ThemeAdmin(admin.ModelAdmin):
|
|||
"fields": (
|
||||
"css_generic_link_color",
|
||||
"css_generic_link_hover_color",
|
||||
"css_generic_link_active_color",
|
||||
),
|
||||
},
|
||||
),
|
||||
|
|
@ -148,13 +143,8 @@ class ThemeAdmin(admin.ModelAdmin):
|
|||
),
|
||||
},
|
||||
),
|
||||
(
|
||||
_("Navigation Bar"),
|
||||
{
|
||||
"classes": ("wide",),
|
||||
"fields": ("foldable_apps",),
|
||||
},
|
||||
),
|
||||
(_("Navigation Bar"), {"classes": (
|
||||
"wide",), "fields": ("foldable_apps",)}),
|
||||
(
|
||||
_("Related Modal"),
|
||||
{
|
||||
|
|
@ -183,42 +173,18 @@ class ThemeAdmin(admin.ModelAdmin):
|
|||
{
|
||||
"classes": ("wide",),
|
||||
"fields": (
|
||||
"list_filter_highlight",
|
||||
"list_filter_dropdown",
|
||||
"list_filter_sticky",
|
||||
"list_filter_removal_links",
|
||||
),
|
||||
},
|
||||
),
|
||||
(
|
||||
_("Change Form"),
|
||||
{
|
||||
"classes": ("wide",),
|
||||
"fields": (
|
||||
"show_fieldsets_as_tabs",
|
||||
"show_inlines_as_tabs",
|
||||
),
|
||||
},
|
||||
),
|
||||
(
|
||||
_("Inlines"),
|
||||
{
|
||||
"classes": ("wide",),
|
||||
"fields": (
|
||||
"collapsible_stacked_inlines",
|
||||
"collapsible_stacked_inlines_collapsed",
|
||||
"collapsible_tabular_inlines",
|
||||
"collapsible_tabular_inlines_collapsed",
|
||||
),
|
||||
},
|
||||
),
|
||||
(
|
||||
_("Recent Actions"),
|
||||
{
|
||||
"classes": ("wide",),
|
||||
"fields": ("recent_actions_visible",),
|
||||
},
|
||||
{"classes": ("wide",), "fields": ("recent_actions_visible",)},
|
||||
),
|
||||
)
|
||||
|
||||
save_on_top = True
|
||||
|
||||
|
||||
admin.site.register(Theme, ThemeAdmin)
|
||||
|
|
|
|||
|
|
@ -1,13 +1,21 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from admin_interface.compat import gettext_lazy as _
|
||||
|
||||
from django.apps import AppConfig
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.db.models.signals import post_migrate
|
||||
|
||||
|
||||
class AdminInterfaceConfig(AppConfig):
|
||||
|
||||
name = "admin_interface"
|
||||
verbose_name = _("Admin Interface")
|
||||
default_auto_field = "django.db.models.AutoField"
|
||||
|
||||
def ready(self):
|
||||
|
||||
from admin_interface import settings
|
||||
from admin_interface.models import Theme
|
||||
|
||||
settings.check_installed_apps()
|
||||
post_migrate.connect(Theme.post_migrate_handler, sender=self)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from django.conf import settings
|
||||
from django.core.cache import cache, caches
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,26 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import django
|
||||
|
||||
if django.VERSION >= (1, 11):
|
||||
from django.core.validators import FileExtensionValidator
|
||||
else:
|
||||
|
||||
def FileExtensionValidator(*args, **kwargs):
|
||||
def noop(*args, **kwargs):
|
||||
pass
|
||||
|
||||
return noop
|
||||
|
||||
|
||||
if django.VERSION < (1, 10):
|
||||
from django.core.urlresolvers import NoReverseMatch, reverse
|
||||
else:
|
||||
from django.urls import NoReverseMatch, reverse
|
||||
|
||||
if django.VERSION < (2, 0):
|
||||
from django.utils.encoding import force_text as force_str
|
||||
from django.utils.translation import ugettext_lazy as gettext_lazy
|
||||
else:
|
||||
from django.utils.encoding import force_str
|
||||
from django.utils.translation import gettext_lazy
|
||||
|
|
@ -1,8 +1,7 @@
|
|||
from .models import Theme, UserTheme
|
||||
from .models import Theme
|
||||
|
||||
def get_active_theme(request):
|
||||
objs_manager = Theme.objects
|
||||
user_theme_manager = UserTheme.objects
|
||||
objs_active_qs = objs_manager.filter(active=True)
|
||||
objs_active_ls = list(objs_active_qs)
|
||||
objs_active_count = len(objs_active_ls)
|
||||
|
|
@ -18,17 +17,19 @@ def get_active_theme(request):
|
|||
obj = objs_active_ls[0]
|
||||
|
||||
elif objs_active_count > 1:
|
||||
# for frame_record in inspect.stack():
|
||||
# if frame_record[3]=='get_response':
|
||||
# request = frame_record[0].f_locals['request']
|
||||
# user = request.user
|
||||
# break
|
||||
# else:
|
||||
# request = None
|
||||
user = request.user
|
||||
try:
|
||||
obj = user_theme_manager.filter(user=user, theme__active=True).first().theme
|
||||
obj = objs_active_qs.filter(user=user).first()
|
||||
except:
|
||||
objs_default_qs = objs_active_qs.filter(default=True)
|
||||
if len(objs_default_qs) == 0:
|
||||
obj = objs_active_qs.first()
|
||||
if obj:
|
||||
obj.set_default()
|
||||
else:
|
||||
obj = objs_default_qs.first()
|
||||
obj = objs_active_ls[-1]
|
||||
obj.set_active()
|
||||
|
||||
return {
|
||||
'theme': obj,
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,316 +0,0 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Environment"
|
||||
msgstr "Umgebung"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Language chooser"
|
||||
msgstr "Sprachauswahl"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Favicon"
|
||||
msgstr "Favicon"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Title"
|
||||
msgstr "Titel"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Header"
|
||||
msgstr "Header"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Breadcrumbs / Modul-Header"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Generic Links"
|
||||
msgstr "Generische Links"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Save Buttons"
|
||||
msgstr "Speichern-Buttons"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Löschen-Buttons"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Navigation Bar"
|
||||
msgstr "Navigationsleiste"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Related Modal"
|
||||
msgstr "Modal für verwandte Objekte"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Form Controls"
|
||||
msgstr "Formularsteuerung"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "List Filter"
|
||||
msgstr "Filteranzeige"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Change Form"
|
||||
msgstr "Änderungsformular"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Recent Actions"
|
||||
msgstr "Neueste Aktionen"
|
||||
|
||||
#: admin_interface/apps.py
|
||||
msgid "Admin Interface"
|
||||
msgstr "Admin-Oberfläche"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "name"
|
||||
msgstr "Name"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "active"
|
||||
msgstr "aktiv"
|
||||
|
||||
#: admin_interface/models.py admin_interface/templates/admin/base_site.html
|
||||
msgid "Django administration"
|
||||
msgstr "Django-Administration"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "title"
|
||||
msgstr "Titel"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "color"
|
||||
msgstr "Farbe"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "visible"
|
||||
msgstr "sichtbar"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Dieses Feld leer lassen um das Django Standard Logo zu benutzen"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max width"
|
||||
msgstr "maximale Breite"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max height"
|
||||
msgstr "maximale Höhe"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "favicon"
|
||||
msgstr "Favicon"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
msgstr ""
|
||||
"(rot: #E74C3C, orange: #E67E22, gelb: #F1C40F, grün: #2ECC71, blau: #3498DB)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "sichtbar im Header (Marker und Name)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "sichtbar im Favicon (Marker)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Default Select"
|
||||
msgstr "normale Auswahl"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Minimal Select"
|
||||
msgstr "minimale Auswahl"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "control"
|
||||
msgstr "Regler"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "code"
|
||||
msgstr "Code"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "display"
|
||||
msgstr "Anzeige"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "background color"
|
||||
msgstr "Hintergrundfarbe"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "text color"
|
||||
msgstr "Textfarbe"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link color"
|
||||
msgstr "Linkfarbe"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link hover color"
|
||||
msgstr "Linkfarbe beim Überfahren"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "background selected color"
|
||||
msgstr "Hintergrundfarbe bei Auswahl"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link selected color"
|
||||
msgstr "Linkfarbe bei Auswahl"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "rounded corners"
|
||||
msgstr "abgerundete Ecken"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link active color"
|
||||
msgstr "Linkfarbe beim aktiv"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "background hover color"
|
||||
msgstr "Hintergrundfarbe beim Überfahren"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "background opacity"
|
||||
msgstr "Deckkraft des Hintergrunds"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "close button visible"
|
||||
msgstr "Schließen-Schalter sichtbar"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "highlight active"
|
||||
msgstr "Aktiv hervorheben"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "use dropdown"
|
||||
msgstr "Dropdown-Liste nutzen"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky position"
|
||||
msgstr "angeheftete Position"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "quick remove links for active filters at top of sidebar"
|
||||
msgstr "Schnellentfernung für aktive Filter oben in der Seitenleiste"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "foldable apps"
|
||||
msgstr "einklappbare Apps"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "fieldsets as tabs"
|
||||
msgstr "Fieldsets als Tabs"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "inlines as tabs"
|
||||
msgstr "Inlines als Tabs"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky submit"
|
||||
msgstr "angeheftete Schaltfläche"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky pagination"
|
||||
msgstr "angeheftete Seitennummerierung"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Theme"
|
||||
msgstr "Thema"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Themes"
|
||||
msgstr "Themen"
|
||||
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. Translators: don't translate this, the django catalog already contains it
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Clear all filters"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View on site"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Delete?"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/filter.html
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/popup_response.html
|
||||
msgid "Popup closing..."
|
||||
msgstr "Popup schließen..."
|
||||
Binary file not shown.
|
|
@ -3,16 +3,15 @@
|
|||
#
|
||||
# Translators:
|
||||
# Martin Vuelta <martin.vuelta@softbutterfly.io>, 2018
|
||||
# Santiago Muñoz <smunoz@mythologylabs.com.uy>, 2023
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: django-admin-interface\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
|
||||
"PO-Revision-Date: 2023-08-04 11:52-0300\n"
|
||||
"Last-Translator: Santiago Muñoz <smunoz@mythologylabs.com.uy>\n"
|
||||
"POT-Creation-Date: 2019-09-04 09:18+0000\n"
|
||||
"PO-Revision-Date: 2018-12-30 19:13-0500\n"
|
||||
"Last-Translator: Martin Vuelta <martin.vuelta@softbutterfly.io>\n"
|
||||
"Language-Team: Spanish <dev@softbutterfly.io>\n"
|
||||
"Language: Spanish \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
@ -20,304 +19,188 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:21
|
||||
msgid "Environment"
|
||||
msgstr "Ambiente"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:30
|
||||
msgid "Language chooser"
|
||||
msgstr "Selección de idioma"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:37
|
||||
msgid "Logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:45
|
||||
msgid "Favicon"
|
||||
msgstr "Favicon"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:49
|
||||
msgid "Title"
|
||||
msgstr "Título"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:57
|
||||
msgid "Header"
|
||||
msgstr "Encabezado"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:66
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Breadcrumbs / Encabezados de módulos"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:76
|
||||
msgid "Generic Links"
|
||||
msgstr "Enlaces genéricos"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:83
|
||||
msgid "Save Buttons"
|
||||
msgstr "Botones de guardar"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:91
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Botones de borrar"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Navigation Bar"
|
||||
msgstr "Barra de navegación"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:99
|
||||
msgid "Related Modal"
|
||||
msgstr "Modal para objetos relacionados"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Form Controls"
|
||||
msgstr "Controles del formulario"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:109
|
||||
msgid "List Filter"
|
||||
msgstr "Lista de filtros"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Change Form"
|
||||
msgstr "Cambiar Formulario"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:113
|
||||
msgid "Recent Actions"
|
||||
msgstr "Acciones recientes"
|
||||
|
||||
#: admin_interface/apps.py
|
||||
#: admin_interface/apps.py:11
|
||||
msgid "Admin Interface"
|
||||
msgstr "Interfaz de administración"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:72 admin_interface/models.py:116
|
||||
#: admin_interface/models.py:135
|
||||
msgid "name"
|
||||
msgstr "nombre"
|
||||
msgstr "Nombre"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:75 admin_interface/models.py:132
|
||||
#: admin_interface/models.py:253
|
||||
msgid "active"
|
||||
msgstr "activo"
|
||||
msgstr "Activo"
|
||||
|
||||
#: admin_interface/models.py admin_interface/templates/admin/base_site.html
|
||||
#: admin_interface/models.py:79
|
||||
#: admin_interface/templates/admin/base_site.html:6
|
||||
#: admin_interface/templates/admin/base_site.html:60
|
||||
msgid "Django administration"
|
||||
msgstr "Administración de Django"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:81
|
||||
msgid "title"
|
||||
msgstr "Título"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:87 admin_interface/models.py:102
|
||||
#: admin_interface/models.py:122
|
||||
#, fuzzy
|
||||
#| msgid "logo color"
|
||||
msgid "color"
|
||||
msgstr "color"
|
||||
msgstr "color de logo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:90 admin_interface/models.py:105
|
||||
#: admin_interface/models.py:289
|
||||
msgid "visible"
|
||||
msgstr "visible"
|
||||
msgstr "Visible"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:95
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Dejar en blanco para usar el logo por defecto de Django"
|
||||
msgstr "Dejar en blanco para usaer el logo por defecto de Django"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:96
|
||||
msgid "logo"
|
||||
msgstr "logo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max width"
|
||||
msgstr "ancho máximo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max height"
|
||||
msgstr "altura máxima"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:110
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr "Formatos ico, png o gif. Tamaños de 16x16 o 32x32 pixeles"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:111
|
||||
msgid "favicon"
|
||||
msgstr "favicon"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:120
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:125
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "visible en el encabezado (marcador y nombre)"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:128
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "visible en el favicon (marcador)"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Default Select"
|
||||
msgstr "Selección por defecto"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Minimal Select"
|
||||
msgstr "Selección mínima"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "control"
|
||||
msgstr "control"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:134
|
||||
msgid "code"
|
||||
msgstr "código"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:141
|
||||
msgid "display"
|
||||
msgstr "mostrar"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:148 admin_interface/models.py:173
|
||||
#: admin_interface/models.py:214 admin_interface/models.py:233
|
||||
#: admin_interface/models.py:259
|
||||
msgid "background color"
|
||||
msgstr "color de fondo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:154 admin_interface/models.py:179
|
||||
#: admin_interface/models.py:226 admin_interface/models.py:245
|
||||
#: admin_interface/models.py:249
|
||||
msgid "text color"
|
||||
msgstr "color de texto"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:160 admin_interface/models.py:185
|
||||
#: admin_interface/models.py:201
|
||||
msgid "link color"
|
||||
msgstr "color de enlace"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:166 admin_interface/models.py:191
|
||||
#: admin_interface/models.py:207
|
||||
msgid "link hover color"
|
||||
msgstr "color de enlace (hover)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "background color"
|
||||
msgid "background selected color"
|
||||
msgstr "color de fondo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "link color"
|
||||
msgid "link selected color"
|
||||
msgstr "color de enlace"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:194 admin_interface/models.py:279
|
||||
msgid "rounded corners"
|
||||
msgstr "esquinas redondas"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link active color"
|
||||
msgstr "color de enlace (active)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:220 admin_interface/models.py:239
|
||||
msgid "background hover color"
|
||||
msgstr "color de fondo (hover)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:276
|
||||
msgid "background opacity"
|
||||
msgstr "opacidad de fondo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:282
|
||||
msgid "close button visible"
|
||||
msgstr "mostrar botón de cerrar"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "highlight active"
|
||||
msgstr "destacar activo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:286
|
||||
msgid "use dropdown"
|
||||
msgstr "Usar lista desplegable"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky position"
|
||||
msgstr "anclar posición"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "quick remove links for active filters at top of sidebar"
|
||||
msgstr "remover enlaces para filtros activos en la parte superior de la barra lateral"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "foldable apps"
|
||||
msgstr "aplicaciones plegables"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "fieldsets as tabs"
|
||||
msgstr "campos como pestañas"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "inlines as tabs"
|
||||
msgstr "inlines como pestañas"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines"
|
||||
msgstr "inlines apilados plegables"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines collapsed"
|
||||
msgstr "inlines apilados plegables colapsados"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines"
|
||||
msgstr "inlines tabulares plegables"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines collapsed"
|
||||
msgstr "inlines tabulares plegables colapsados"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky submit"
|
||||
msgstr "anclar botón de guardar"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky pagination"
|
||||
msgstr "anclar paginación"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:298
|
||||
msgid "Theme"
|
||||
msgstr "Tema"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:299
|
||||
msgid "Themes"
|
||||
msgstr "Temas"
|
||||
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
#, fuzzy
|
||||
#| msgid "List Filter"
|
||||
msgid "Filter"
|
||||
msgstr "Lista de filtros"
|
||||
|
||||
#. Translators: don't translate this, the django catalog already contains it
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Clear all filters"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View on site"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Delete?"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/filter.html
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html
|
||||
#: admin_interface/templates/admin/filter.html:13
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html:4
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " Por %(filter_title)s "
|
||||
|
||||
#: admin_interface/templates/admin/popup_response.html
|
||||
#: admin_interface/templates/admin/popup_response.html:3
|
||||
msgid "Popup closing..."
|
||||
msgstr "Cerando popup..."
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -8,314 +8,198 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: django-admin-interface\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
|
||||
"POT-Creation-Date: 2020-10-12 19:23+0330\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Amir Ajorloo <amirajorloo@gmail.com>\n"
|
||||
"Language-Team: Farsi <LL@li.org>\n"
|
||||
"Language: FarsiMIME-Version: 1.0\n"
|
||||
"Language: Farsi"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:21
|
||||
msgid "Environment"
|
||||
msgstr "محیط"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:30
|
||||
msgid "Language chooser"
|
||||
msgstr "انتخاب زبان"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:37
|
||||
msgid "Logo"
|
||||
msgstr "لوگو"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:45
|
||||
msgid "Favicon"
|
||||
msgstr "آیکون تب"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:49
|
||||
msgid "Title"
|
||||
msgstr "عنوان"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:57
|
||||
msgid "Header"
|
||||
msgstr "هدر"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:66
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "مسیر صفحه"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:76
|
||||
msgid "Generic Links"
|
||||
msgstr "لینکهای عمومی"
|
||||
msgstr "لینکهای عمومی"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:83
|
||||
msgid "Save Buttons"
|
||||
msgstr "دکمههای ذخیره"
|
||||
msgstr "دکمههای ذخیره"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:91
|
||||
msgid "Delete Buttons"
|
||||
msgstr "دکمههای حذف"
|
||||
msgstr "دکمههای حذف"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Navigation Bar"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:99
|
||||
msgid "Related Modal"
|
||||
msgstr "مدلهای مرتبط"
|
||||
msgstr "مدلهای مرتبط"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Form Controls"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:109
|
||||
msgid "List Filter"
|
||||
msgstr "فیلترهای لیست"
|
||||
msgstr "فیلترهای لیست"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Change Form"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:113
|
||||
msgid "Recent Actions"
|
||||
msgstr "فعالیتهای اخیر"
|
||||
msgstr "فعالیتهای اخیر"
|
||||
|
||||
#: admin_interface/apps.py
|
||||
#: admin_interface/apps.py:11
|
||||
msgid "Admin Interface"
|
||||
msgstr "ظاهر ادمین"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:72 admin_interface/models.py:116
|
||||
#: admin_interface/models.py:135
|
||||
msgid "name"
|
||||
msgstr "نام"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:75 admin_interface/models.py:132
|
||||
#: admin_interface/models.py:253
|
||||
msgid "active"
|
||||
msgstr "فعال"
|
||||
|
||||
#: admin_interface/models.py admin_interface/templates/admin/base_site.html
|
||||
#: admin_interface/models.py:79
|
||||
#: admin_interface/templates/admin/base_site.html:6
|
||||
#: admin_interface/templates/admin/base_site.html:60
|
||||
msgid "Django administration"
|
||||
msgstr "مدیریت جنگو"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:81
|
||||
msgid "title"
|
||||
msgstr "عنوان"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:87 admin_interface/models.py:102
|
||||
#: admin_interface/models.py:122
|
||||
msgid "color"
|
||||
msgstr "رنگ"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:90 admin_interface/models.py:105
|
||||
#: admin_interface/models.py:289
|
||||
msgid "visible"
|
||||
msgstr "نمایان"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:95
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "برای نمایش لوگوی پیش فرض، خالی بگذارید."
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:96
|
||||
msgid "logo"
|
||||
msgstr "لوگو"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max width"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max height"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:110
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:111
|
||||
msgid "favicon"
|
||||
msgstr "آیکون تب"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:120
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
msgstr ""
|
||||
"(قرمز: #E74C3C, نارنجی: #E67E22, زرد: #F1C40F, سبز: #2ECC71, آبی: #3498DB)"
|
||||
"(قرمز: #E74C3C, نارنجی: #E67E22, زرد: #F1C40F, سبز: #2ECC71, آبی: "
|
||||
"#3498DB)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:125
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "نمایان در هدر"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:128
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "نمایان در آیکون تب"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Default Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Minimal Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "control"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:134
|
||||
msgid "code"
|
||||
msgstr "کد"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:141
|
||||
msgid "display"
|
||||
msgstr "نمایش"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:148 admin_interface/models.py:173
|
||||
#: admin_interface/models.py:214 admin_interface/models.py:233
|
||||
#: admin_interface/models.py:259
|
||||
msgid "background color"
|
||||
msgstr "رنگ پسزمینه"
|
||||
msgstr "رنگ پسزمینه"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:154 admin_interface/models.py:179
|
||||
#: admin_interface/models.py:226 admin_interface/models.py:245
|
||||
#: admin_interface/models.py:249
|
||||
msgid "text color"
|
||||
msgstr "رنگ متن"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:160 admin_interface/models.py:185
|
||||
#: admin_interface/models.py:201
|
||||
msgid "link color"
|
||||
msgstr "رنگ لینک"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:166 admin_interface/models.py:191
|
||||
#: admin_interface/models.py:207
|
||||
msgid "link hover color"
|
||||
msgstr "رنگ لینک در حالت هاور"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "background color"
|
||||
msgid "background selected color"
|
||||
msgstr "رنگ پسزمینه"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "link color"
|
||||
msgid "link selected color"
|
||||
msgstr "رنگ لینک"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:194 admin_interface/models.py:279
|
||||
msgid "rounded corners"
|
||||
msgstr "گوشههای خمیده"
|
||||
msgstr "گوشههای خمیده"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link active color"
|
||||
msgstr "رنگ فعال پیوند"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:220 admin_interface/models.py:239
|
||||
msgid "background hover color"
|
||||
msgstr "رنگ پسزمینه در حالت هاور"
|
||||
msgstr "رنگ پسزمینه در حالت هاور"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:276
|
||||
msgid "background opacity"
|
||||
msgstr "شفافیت بکگراند"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:282
|
||||
msgid "close button visible"
|
||||
msgstr "دکمه بستن نمایان باشد"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "highlight active"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:286
|
||||
msgid "use dropdown"
|
||||
msgstr "استفاده از دراپ داون"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky position"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "quick remove links for active filters at top of sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "foldable apps"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "fieldsets as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "inlines as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky submit"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky pagination"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:298
|
||||
msgid "Theme"
|
||||
msgstr "تم"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:299
|
||||
msgid "Themes"
|
||||
msgstr "تمها"
|
||||
msgstr "تمها"
|
||||
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
#, fuzzy
|
||||
#| msgid "List Filter"
|
||||
msgid "Filter"
|
||||
msgstr "فیلترهای لیست"
|
||||
|
||||
#. Translators: don't translate this, the django catalog already contains it
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Clear all filters"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View on site"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Delete?"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/filter.html
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html
|
||||
#: admin_interface/templates/admin/filter.html:13
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html:4
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " توسط %(filter_title)s "
|
||||
|
||||
#: admin_interface/templates/admin/popup_response.html
|
||||
#: admin_interface/templates/admin/popup_response.html:3
|
||||
msgid "Popup closing..."
|
||||
msgstr "پاپ آپ در حال بسته شدن..."
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
|
||||
"POT-Creation-Date: 2019-09-04 09:18+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -18,127 +18,109 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:21
|
||||
msgid "Environment"
|
||||
msgstr "Environnement"
|
||||
msgstr "Environnment"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:30
|
||||
msgid "Language chooser"
|
||||
msgstr "Sélecteur de langue"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:37
|
||||
msgid "Logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:45
|
||||
msgid "Favicon"
|
||||
msgstr "Favicon"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:49
|
||||
msgid "Title"
|
||||
msgstr "Titre"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:57
|
||||
msgid "Header"
|
||||
msgstr "Bannière"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:66
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Fil d'ariane / en-têtes de module"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:76
|
||||
msgid "Generic Links"
|
||||
msgstr "Liens génériques"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:83
|
||||
msgid "Save Buttons"
|
||||
msgstr "Boutons sauvegarder"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:91
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Boutons supprimer"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Navigation Bar"
|
||||
msgstr "Barre de navigation"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:99
|
||||
msgid "Related Modal"
|
||||
msgstr "Modale pour objet reliés"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Form Controls"
|
||||
msgstr "Contrôles de formulaires"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:109
|
||||
msgid "List Filter"
|
||||
msgstr "Filtre de liste"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Change Form"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:113
|
||||
msgid "Recent Actions"
|
||||
msgstr "Actions récentes"
|
||||
|
||||
#: admin_interface/apps.py
|
||||
#: admin_interface/apps.py:11
|
||||
msgid "Admin Interface"
|
||||
msgstr "Interface Admin"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:72 admin_interface/models.py:116
|
||||
#: admin_interface/models.py:135
|
||||
msgid "name"
|
||||
msgstr "nom"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:75 admin_interface/models.py:132
|
||||
#: admin_interface/models.py:253
|
||||
msgid "active"
|
||||
msgstr "actif"
|
||||
|
||||
#: admin_interface/models.py admin_interface/templates/admin/base_site.html
|
||||
#: admin_interface/models.py:79
|
||||
#: admin_interface/templates/admin/base_site.html:6
|
||||
#: admin_interface/templates/admin/base_site.html:60
|
||||
msgid "Django administration"
|
||||
msgstr "Administration Django"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:81
|
||||
msgid "title"
|
||||
msgstr "titre"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:87 admin_interface/models.py:102
|
||||
#: admin_interface/models.py:122
|
||||
msgid "color"
|
||||
msgstr "couleur"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:90 admin_interface/models.py:105
|
||||
#: admin_interface/models.py:289
|
||||
msgid "visible"
|
||||
msgstr "visible"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:95
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Laisser vide pour utiliser le logo Django par défaut"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:96
|
||||
msgid "logo"
|
||||
msgstr "logo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max width"
|
||||
msgstr "largeur max"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max height"
|
||||
msgstr "hauteur max"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:110
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:111
|
||||
msgid "favicon"
|
||||
msgstr "favicon"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:120
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
|
|
@ -146,173 +128,78 @@ msgstr ""
|
|||
"(rouge: #E74C3C, orange: #E67E22, jaune: #F1C40F, vert: #2ECC71, bleu: "
|
||||
"#3498DB)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:125
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "visible dans l’en-tête (marqueur et nom)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:128
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "visible dans la favicon (marqueur)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Default Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Minimal Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "control"
|
||||
msgstr "contrôle"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:134
|
||||
msgid "code"
|
||||
msgstr "code"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:141
|
||||
msgid "display"
|
||||
msgstr "affichage"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:148 admin_interface/models.py:173
|
||||
#: admin_interface/models.py:214 admin_interface/models.py:233
|
||||
#: admin_interface/models.py:259
|
||||
msgid "background color"
|
||||
msgstr "couleur d'arrière-plan"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:154 admin_interface/models.py:179
|
||||
#: admin_interface/models.py:226 admin_interface/models.py:245
|
||||
#: admin_interface/models.py:249
|
||||
msgid "text color"
|
||||
msgstr "couleur du texte"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:160 admin_interface/models.py:185
|
||||
#: admin_interface/models.py:201
|
||||
msgid "link color"
|
||||
msgstr "couleur de lien"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:166 admin_interface/models.py:191
|
||||
#: admin_interface/models.py:207
|
||||
msgid "link hover color"
|
||||
msgstr "couleur de lien au survol"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "background selected color"
|
||||
msgstr "couleur d'arrière-plan choisi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link selected color"
|
||||
msgstr "couleur de lien choisi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:194 admin_interface/models.py:279
|
||||
msgid "rounded corners"
|
||||
msgstr "coins arrondis"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link active color"
|
||||
msgstr "couleur de lien actif"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:220 admin_interface/models.py:239
|
||||
msgid "background hover color"
|
||||
msgstr "couleur de fond au survol"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:276
|
||||
msgid "background opacity"
|
||||
msgstr "opacité de l'arrière-plan"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:282
|
||||
msgid "close button visible"
|
||||
msgstr "bouton fermer visible"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "highlight active"
|
||||
msgstr "mise en valeur active"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:286
|
||||
msgid "use dropdown"
|
||||
msgstr "utiliser un menu déroulant"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky position"
|
||||
msgstr "position adhérente (sticky)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "quick remove links for active filters at top of sidebar"
|
||||
msgstr ""
|
||||
"liens de suppression pour les filtres actifs en haut de la barre latérale"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "foldable apps"
|
||||
msgstr "apps repliables"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "fieldsets as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "inlines as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky submit"
|
||||
msgstr "envoi adhérent (sticky)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky pagination"
|
||||
msgstr "pagination adhérente (sticky)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:298
|
||||
msgid "Theme"
|
||||
msgstr "Thème"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:299
|
||||
msgid "Themes"
|
||||
msgstr "Thèmes"
|
||||
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Filter"
|
||||
msgstr "Filtre"
|
||||
|
||||
#. Translators: don't translate this, the django catalog already contains it
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Clear all filters"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View on site"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Delete?"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/filter.html
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html
|
||||
#: admin_interface/templates/admin/filter.html:13
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html:4
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " Par %(filter_title)s "
|
||||
|
||||
#: admin_interface/templates/admin/popup_response.html
|
||||
#: admin_interface/templates/admin/popup_response.html:3
|
||||
msgid "Popup closing..."
|
||||
msgstr "Fermeture de la modale..."
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: django-admin-interface\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
|
||||
"POT-Creation-Date: 2019-09-04 09:19+0000\n"
|
||||
"PO-Revision-Date: 2018-12-30 19:13-0500\n"
|
||||
"Last-Translator: Fabio Caccamo <fabio.caccamo@gmail.com>\n"
|
||||
"Language-Team: Italian <LL@li.org>\n"
|
||||
|
|
@ -19,127 +19,109 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:21
|
||||
msgid "Environment"
|
||||
msgstr "Ambiente"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:30
|
||||
msgid "Language chooser"
|
||||
msgstr "Selettore di lingua"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:37
|
||||
msgid "Logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:45
|
||||
msgid "Favicon"
|
||||
msgstr "Favicon"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:49
|
||||
msgid "Title"
|
||||
msgstr "Titolo"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:57
|
||||
msgid "Header"
|
||||
msgstr "Header"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:66
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Breadcrumbs / Header dei moduli"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:76
|
||||
msgid "Generic Links"
|
||||
msgstr "Link generici"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:83
|
||||
msgid "Save Buttons"
|
||||
msgstr "Pulsanti per salvare"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:91
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Pulsanti per eliminare"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Navigation Bar"
|
||||
msgstr "Barra di Navigazione"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:99
|
||||
msgid "Related Modal"
|
||||
msgstr "Modale per gli oggetti correlati"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Form Controls"
|
||||
msgstr "Controlli dei form"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:109
|
||||
msgid "List Filter"
|
||||
msgstr "Filtro listato"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Change Form"
|
||||
msgstr "Form di modifica"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:113
|
||||
msgid "Recent Actions"
|
||||
msgstr "Azioni recenti"
|
||||
|
||||
#: admin_interface/apps.py
|
||||
#: admin_interface/apps.py:11
|
||||
msgid "Admin Interface"
|
||||
msgstr "Interfaccia di amministrazione"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:72 admin_interface/models.py:116
|
||||
#: admin_interface/models.py:135
|
||||
msgid "name"
|
||||
msgstr "nome"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:75 admin_interface/models.py:132
|
||||
#: admin_interface/models.py:253
|
||||
msgid "active"
|
||||
msgstr "attivo"
|
||||
|
||||
#: admin_interface/models.py admin_interface/templates/admin/base_site.html
|
||||
#: admin_interface/models.py:79
|
||||
#: admin_interface/templates/admin/base_site.html:6
|
||||
#: admin_interface/templates/admin/base_site.html:60
|
||||
msgid "Django administration"
|
||||
msgstr "Amministrazione di Django"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:81
|
||||
msgid "title"
|
||||
msgstr "titolo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:87 admin_interface/models.py:102
|
||||
#: admin_interface/models.py:122
|
||||
msgid "color"
|
||||
msgstr "colore"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:90 admin_interface/models.py:105
|
||||
#: admin_interface/models.py:289
|
||||
msgid "visible"
|
||||
msgstr "visibile"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:95
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Lasciare vuoto per usare il logo Django di default"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:96
|
||||
msgid "logo"
|
||||
msgstr "logo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max width"
|
||||
msgstr "larghezza massima"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max height"
|
||||
msgstr "altezza massima"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:110
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr "(formato ico, png o gif - dimensioni 16x16 o 32x32 px)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:111
|
||||
msgid "favicon"
|
||||
msgstr "favicon"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:120
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
|
|
@ -147,178 +129,78 @@ msgstr ""
|
|||
"(rosso: #E74C3C, arancione: #E67E22, giallo: #F1C40F, verde: #2ECC71, blu: "
|
||||
"#3498DB)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:125
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "visibile nell'header (marker e nome)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:128
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "visibile nella favicon (marker)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Default Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Minimal Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "control"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:134
|
||||
msgid "code"
|
||||
msgstr "codice"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:141
|
||||
msgid "display"
|
||||
msgstr "visualizzazione"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:148 admin_interface/models.py:173
|
||||
#: admin_interface/models.py:214 admin_interface/models.py:233
|
||||
#: admin_interface/models.py:259
|
||||
msgid "background color"
|
||||
msgstr "colore di sfondo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:154 admin_interface/models.py:179
|
||||
#: admin_interface/models.py:226 admin_interface/models.py:245
|
||||
#: admin_interface/models.py:249
|
||||
msgid "text color"
|
||||
msgstr "colore del testo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:160 admin_interface/models.py:185
|
||||
#: admin_interface/models.py:201
|
||||
msgid "link color"
|
||||
msgstr "colore dei link"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:166 admin_interface/models.py:191
|
||||
#: admin_interface/models.py:207
|
||||
msgid "link hover color"
|
||||
msgstr "colore dei link in hover"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "background color"
|
||||
msgid "background selected color"
|
||||
msgstr "colore di sfondo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "link color"
|
||||
msgid "link selected color"
|
||||
msgstr "colore dei link"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:194 admin_interface/models.py:279
|
||||
msgid "rounded corners"
|
||||
msgstr "bordi arrotondati"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link active color"
|
||||
msgstr "colore dei link attivi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:220 admin_interface/models.py:239
|
||||
msgid "background hover color"
|
||||
msgstr "colore di sfondo in hover"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:276
|
||||
msgid "background opacity"
|
||||
msgstr "opacità dello sfondo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:282
|
||||
msgid "close button visible"
|
||||
msgstr "pulsante chiudi visibile"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "highlight active"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:286
|
||||
msgid "use dropdown"
|
||||
msgstr "usa dropdown"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky position"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "quick remove links for active filters at top of sidebar"
|
||||
msgstr "links di rimozione rapida dei filtri attivi in alto nella sidebar"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "foldable apps"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "fieldsets as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "inlines as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky submit"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky pagination"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:298
|
||||
msgid "Theme"
|
||||
msgstr "Tema"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:299
|
||||
msgid "Themes"
|
||||
msgstr "Temi"
|
||||
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
#, fuzzy
|
||||
#| msgid "List Filter"
|
||||
msgid "Filter"
|
||||
msgstr "Filtro listato"
|
||||
|
||||
#. Translators: don't translate this, the django catalog already contains it
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Clear all filters"
|
||||
msgstr "Cancella tutti i filtri"
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Change"
|
||||
msgstr "Modifica"
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View"
|
||||
msgstr "Visualizza"
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View on site"
|
||||
msgstr "Visualizza sul sito"
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Delete?"
|
||||
msgstr "Eliminare?"
|
||||
|
||||
#: admin_interface/templates/admin/filter.html
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html
|
||||
#: admin_interface/templates/admin/filter.html:13
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html:4
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " Per %(filter_title)s "
|
||||
|
||||
#: admin_interface/templates/admin/popup_response.html
|
||||
#: admin_interface/templates/admin/popup_response.html:3
|
||||
msgid "Popup closing..."
|
||||
msgstr "Chiusura popup..."
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: django-admin-interface\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
|
||||
"POT-Creation-Date: 2022-02-04 09:19+0000\n"
|
||||
"PO-Revision-Date: 2022-02-04 19:13-0500\n"
|
||||
"Last-Translator: Kamil Paduszyński <kpaduszy@gmail.com>\n"
|
||||
"Language-Team: Polish <LL@li.org>\n"
|
||||
|
|
@ -19,306 +19,188 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:21
|
||||
msgid "Environment"
|
||||
msgstr "Środowisko"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:30
|
||||
msgid "Language chooser"
|
||||
msgstr "Wybór wersji językowej"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:37
|
||||
msgid "Logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:45
|
||||
msgid "Favicon"
|
||||
msgstr "Ikonka"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:49
|
||||
msgid "Title"
|
||||
msgstr "Tytuł"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:57
|
||||
msgid "Header"
|
||||
msgstr "Nagłówek"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:66
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Pasek nawigacyjny / nagłówki modułów"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:76
|
||||
msgid "Generic Links"
|
||||
msgstr "Zwykłe linki"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:83
|
||||
msgid "Save Buttons"
|
||||
msgstr "Przyciski zapisywania"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:91
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Przyciski usuwania"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Navigation Bar"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:99
|
||||
msgid "Related Modal"
|
||||
msgstr "Okno dialogowe"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Form Controls"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:109
|
||||
msgid "List Filter"
|
||||
msgstr "Filtry"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Change Form"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:113
|
||||
msgid "Recent Actions"
|
||||
msgstr "Ostatnie działania"
|
||||
|
||||
#: admin_interface/apps.py
|
||||
#: admin_interface/apps.py:11
|
||||
msgid "Admin Interface"
|
||||
msgstr "Wygląd panelu administracyjnego"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:72 admin_interface/models.py:116
|
||||
#: admin_interface/models.py:135
|
||||
msgid "name"
|
||||
msgstr "nazwa"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:75 admin_interface/models.py:132
|
||||
#: admin_interface/models.py:253
|
||||
msgid "active"
|
||||
msgstr "aktywny"
|
||||
|
||||
#: admin_interface/models.py admin_interface/templates/admin/base_site.html
|
||||
#: admin_interface/models.py:79
|
||||
#: admin_interface/templates/admin/base_site.html:6
|
||||
#: admin_interface/templates/admin/base_site.html:60
|
||||
msgid "Django administration"
|
||||
msgstr "Administracja Django"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:81
|
||||
msgid "title"
|
||||
msgstr "tytuł"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:87 admin_interface/models.py:102
|
||||
#: admin_interface/models.py:122
|
||||
msgid "color"
|
||||
msgstr "kolor"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:90 admin_interface/models.py:105
|
||||
#: admin_interface/models.py:289
|
||||
msgid "visible"
|
||||
msgstr "widoczny"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:95
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Puste ustawia domyślne logo Django"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:96
|
||||
msgid "logo"
|
||||
msgstr "logo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max width"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max height"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:110
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr "(Format pliku: .ico, .png, .gif; wymiary: 16 x 16 lub 32 x 32 px)."
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:111
|
||||
msgid "favicon"
|
||||
msgstr "ikonka"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:120
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
msgstr ""
|
||||
"(czerwony: #E74C3C, pomarańczowy: #E67E22, żółty: #F1C40F, zielony: #2ECC71, "
|
||||
"niebieski: #3498DB)"
|
||||
"(czerwony: #E74C3C, pomarańczowy: #E67E22, żółty: #F1C40F, zielony: #2ECC71, niebieski: "
|
||||
"#3498DB)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:125
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "widoczne w nagłówku (znacznik i nazwa)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:128
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "widoczne przy ikonce (znacznik)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Default Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Minimal Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "control"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:134
|
||||
msgid "code"
|
||||
msgstr "kod"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:141
|
||||
msgid "display"
|
||||
msgstr "wyświetlaj"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:148 admin_interface/models.py:173
|
||||
#: admin_interface/models.py:214 admin_interface/models.py:233
|
||||
#: admin_interface/models.py:259
|
||||
msgid "background color"
|
||||
msgstr "kolor tła"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:154 admin_interface/models.py:179
|
||||
#: admin_interface/models.py:226 admin_interface/models.py:245
|
||||
#: admin_interface/models.py:249
|
||||
msgid "text color"
|
||||
msgstr "kolor tekstu"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:160 admin_interface/models.py:185
|
||||
#: admin_interface/models.py:201
|
||||
msgid "link color"
|
||||
msgstr "kolor linku"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:166 admin_interface/models.py:191
|
||||
#: admin_interface/models.py:207
|
||||
msgid "link hover color"
|
||||
msgstr "kolor wskazywanego linku"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "background color"
|
||||
msgid "background selected color"
|
||||
msgstr "kolor tła"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "link color"
|
||||
msgid "link selected color"
|
||||
msgstr "kolor linku"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:194 admin_interface/models.py:279
|
||||
msgid "rounded corners"
|
||||
msgstr "zaokrąglenie narożników"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link active color"
|
||||
msgstr "kolor aktywny linku"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:220 admin_interface/models.py:239
|
||||
msgid "background hover color"
|
||||
msgstr "kolor tła wskazywanego przycisku"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:276
|
||||
msgid "background opacity"
|
||||
msgstr "przeźroczystość tła"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:282
|
||||
msgid "close button visible"
|
||||
msgstr "pokaż przycisk zamykania"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "highlight active"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:286
|
||||
msgid "use dropdown"
|
||||
msgstr "zastosuj listy rozwijane"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky position"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "quick remove links for active filters at top of sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "foldable apps"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "fieldsets as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "inlines as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky submit"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky pagination"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:298
|
||||
msgid "Theme"
|
||||
msgstr "Schemat"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:299
|
||||
msgid "Themes"
|
||||
msgstr "Schematy"
|
||||
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
#, fuzzy
|
||||
#| msgid "List Filter"
|
||||
msgid "Filter"
|
||||
msgstr "Filtry"
|
||||
|
||||
#. Translators: don't translate this, the django catalog already contains it
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Clear all filters"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View on site"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Delete?"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/filter.html
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html
|
||||
#: admin_interface/templates/admin/filter.html:13
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html:4
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " po %(filter_title)s "
|
||||
|
||||
#: admin_interface/templates/admin/popup_response.html
|
||||
#: admin_interface/templates/admin/popup_response.html:3
|
||||
msgid "Popup closing..."
|
||||
msgstr "Zamykanie..."
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
|
||||
"POT-Creation-Date: 2022-01-28 10:01-0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -18,127 +18,120 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:21
|
||||
msgid "Environment"
|
||||
msgstr "Ambiente"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:30
|
||||
msgid "Language chooser"
|
||||
msgstr "Seletor de idioma"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:37
|
||||
msgid "Logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:47
|
||||
msgid "Favicon"
|
||||
msgstr "Favicon"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:51
|
||||
msgid "Title"
|
||||
msgstr "Título"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:59
|
||||
msgid "Header"
|
||||
msgstr "Cabeçalho"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:68
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Cabeçalhos de módulo"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:80
|
||||
msgid "Generic Links"
|
||||
msgstr "Links Genéricos"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:87
|
||||
msgid "Save Buttons"
|
||||
msgstr "Botões Salvar"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:95
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Botões Deletar"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:103
|
||||
msgid "Navigation Bar"
|
||||
msgstr "Barra de Navegação"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:109
|
||||
msgid "Related Modal"
|
||||
msgstr "Modal Relacionado"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:119
|
||||
msgid "Form Controls"
|
||||
msgstr "Controles de Formulário"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:126
|
||||
msgid "List Filter"
|
||||
msgstr "Filtro de lista"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Change Form"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin.py:133
|
||||
msgid "Recent Actions"
|
||||
msgstr "Ações recentes"
|
||||
|
||||
#: admin_interface/apps.py
|
||||
#: apps.py:12
|
||||
msgid "Admin Interface"
|
||||
msgstr "Interface do administrador"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:73 models.py:129 models.py:148
|
||||
msgid "name"
|
||||
msgstr "nome"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:76 models.py:145 models.py:274
|
||||
msgid "active"
|
||||
msgstr "ativo"
|
||||
|
||||
#: admin_interface/models.py admin_interface/templates/admin/base_site.html
|
||||
#: models.py:80 templates/admin/base_site.html:6
|
||||
#: templates/admin/base_site.html:78
|
||||
msgid "Django administration"
|
||||
msgstr "Administração do Django"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:82
|
||||
msgid "title"
|
||||
msgstr "título"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:88 models.py:105 models.py:135
|
||||
msgid "color"
|
||||
msgstr "cor"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:91 models.py:116 models.py:318
|
||||
msgid "visible"
|
||||
msgstr "visível"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:98
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Deixe em branco para usar o logotipo padrão do Django"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:99
|
||||
msgid "logo"
|
||||
msgstr "logo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:109
|
||||
msgid "max width"
|
||||
msgstr "largura máxima"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:113
|
||||
msgid "max height"
|
||||
msgstr "altura máxima"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:123
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:124
|
||||
msgid "favicon"
|
||||
msgstr "favicon"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:133
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
|
|
@ -146,176 +139,96 @@ msgstr ""
|
|||
"(vermelho: #E74C3C, laranja: #E67E22, amarelo: #F1C40F, verde: #2ECC71, "
|
||||
"azul: #3498DB)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:138
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "visível no cabeçalho (marcador e nome)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:141
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "visível no favicon (marcador)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Default Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Minimal Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "Form Controls"
|
||||
msgid "control"
|
||||
msgstr "Controles de Formulário"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:147
|
||||
msgid "code"
|
||||
msgstr "código"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:154
|
||||
msgid "display"
|
||||
msgstr "exibição"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:161 models.py:186 models.py:239 models.py:258 models.py:280
|
||||
msgid "background color"
|
||||
msgstr "cor de fundo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:167 models.py:198 models.py:251 models.py:270
|
||||
msgid "text color"
|
||||
msgstr "cor do texto"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:173 models.py:204 models.py:226
|
||||
msgid "link color"
|
||||
msgstr "cor do link"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:179 models.py:216 models.py:232
|
||||
msgid "link hover color"
|
||||
msgstr "cor de foco do link"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:192
|
||||
msgid "background selected color"
|
||||
msgstr "cor de fundo selecionada"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:210
|
||||
msgid "link selected color"
|
||||
msgstr "link cor selecionada"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:219 models.py:300
|
||||
msgid "rounded corners"
|
||||
msgstr "cantos arredondados"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link active color"
|
||||
msgstr "cor de ativação do link"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:245 models.py:264
|
||||
msgid "background hover color"
|
||||
msgstr "cor de fundo do foco"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:297
|
||||
msgid "background opacity"
|
||||
msgstr "opacidade de fundo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:303
|
||||
msgid "close button visible"
|
||||
msgstr "botão fechar visível"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "highlight active"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:307
|
||||
msgid "use dropdown"
|
||||
msgstr "usar menu suspenso"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:310
|
||||
msgid "sticky position"
|
||||
msgstr "posição sticky"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "quick remove links for active filters at top of sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:314
|
||||
msgid "foldable apps"
|
||||
msgstr "aplicativos dobráveis"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "fieldsets as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "inlines as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:322
|
||||
msgid "sticky submit"
|
||||
msgstr "envio fixo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:325
|
||||
msgid "sticky pagination"
|
||||
msgstr "paginação fixa"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:334
|
||||
msgid "Theme"
|
||||
msgstr "Tema"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: models.py:335
|
||||
msgid "Themes"
|
||||
msgstr "Temas"
|
||||
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
#, fuzzy
|
||||
#| msgid "List Filter"
|
||||
msgid "Filter"
|
||||
msgstr "Filtro de lista"
|
||||
|
||||
#. Translators: don't translate this, the django catalog already contains it
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Clear all filters"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View on site"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Delete?"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/filter.html
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html
|
||||
#: templates/admin/filter.html:13
|
||||
#: templates/admin_interface/dropdown_filter.html:4
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " por %(filter_title)s "
|
||||
|
||||
#: admin_interface/templates/admin/popup_response.html
|
||||
#: templates/admin/popup_response.html:3
|
||||
msgid "Popup closing..."
|
||||
msgstr "Pop-up fechando..."
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,320 +0,0 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-23 16:28-0500\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
|
||||
"(n%100>=11 && n%100<=14)? 2 : 3);\n"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Environment"
|
||||
msgstr "Окружение"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Language chooser"
|
||||
msgstr "Вид выбора языка"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Logo"
|
||||
msgstr "Логотип"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Favicon"
|
||||
msgstr "Иконка адресной строки"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Title"
|
||||
msgstr "Заголовок"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Header"
|
||||
msgstr "Шапка"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Шапки модулей"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Generic Links"
|
||||
msgstr "Общие ссылки"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Save Buttons"
|
||||
msgstr "Кнопки сохранения"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Кнопки удаления"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Navigation Bar"
|
||||
msgstr "Строка навигации"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Related Modal"
|
||||
msgstr "Модаль для связанных объектов"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Form Controls"
|
||||
msgstr "Управление формами"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "List Filter"
|
||||
msgstr "Вид списка фильтров"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Change Form"
|
||||
msgstr "Вид формы изменения"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Inlines"
|
||||
msgstr "Вид вставок"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Recent Actions"
|
||||
msgstr "Недавние действия"
|
||||
|
||||
#: admin_interface/apps.py
|
||||
msgid "Admin Interface"
|
||||
msgstr "Интерфейс администрирования"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "name"
|
||||
msgstr "название"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "active"
|
||||
msgstr "активный"
|
||||
|
||||
#: admin_interface/models.py admin_interface/templates/admin/base_site.html
|
||||
msgid "Django administration"
|
||||
msgstr "Администрирование Django"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "title"
|
||||
msgstr "заголовок"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "color"
|
||||
msgstr "цвет"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "visible"
|
||||
msgstr "видимый"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Оставьте пустым, чтобы по умолчанию использовать логотип Django"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "logo"
|
||||
msgstr "логотип"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max width"
|
||||
msgstr "максимальная ширина"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max height"
|
||||
msgstr "максимальная высота"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "favicon"
|
||||
msgstr "иконка в адресной строке"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
msgstr ""
|
||||
"(красный: #E74C3C, оранжевый: #E67E22, желтый: #F1C40F, зеленый: #2ECC71, "
|
||||
"синий: #3498DB"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "видимый в шапке (метка и название)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "видимый в иконке адресной строки (метка)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Default Select"
|
||||
msgstr "Выбор по умолчанию"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Minimal Select"
|
||||
msgstr "Минимальный выбор"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "control"
|
||||
msgstr "контроль"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "code"
|
||||
msgstr "код"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "display"
|
||||
msgstr "отображение"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "background color"
|
||||
msgstr "цвет заднего фона"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "text color"
|
||||
msgstr "цвет текста"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link color"
|
||||
msgstr "цвет ссылки"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link hover color"
|
||||
msgstr "цвет ссылки при наведении"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "background selected color"
|
||||
msgstr "цвет заднего фона выбранного объекта"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link selected color"
|
||||
msgstr "цвет ссылки выбранного объекта"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "rounded corners"
|
||||
msgstr "закругленные края"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link active color"
|
||||
msgstr "цвет активной ссылки"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "background hover color"
|
||||
msgstr "цвет заднего фона при наведении"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "background opacity"
|
||||
msgstr "прозрачность заднего фона"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "close button visible"
|
||||
msgstr "видимость кнопки закрытия"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "highlight active"
|
||||
msgstr "подсвечивать активное"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "use dropdown"
|
||||
msgstr "использовать выпадающий список"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky position"
|
||||
msgstr "устойчивое положение"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "quick remove links for active filters at top of sidebar"
|
||||
msgstr "быстро удалять ссылки для активных фильтров сверху боковой панели"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "foldable apps"
|
||||
msgstr "складные приложения"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "fieldsets as tabs"
|
||||
msgstr "набор полей в виде вкладок"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "inlines as tabs"
|
||||
msgstr "вставки как вкладки"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines"
|
||||
msgstr "разборные уложенные вставки"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines collapsed"
|
||||
msgstr "сворачивающиеся уложенные вкладки свернуты"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines"
|
||||
msgstr "сворачивающиеся табличные вставки"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines collapsed"
|
||||
msgstr "сворачивающиеся табличные вставки свернуты"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky submit"
|
||||
msgstr "устойчивая отправка"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky pagination"
|
||||
msgstr "устойчивая разбивка"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Theme"
|
||||
msgstr "Тема"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Themes"
|
||||
msgstr "Темы"
|
||||
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Filter"
|
||||
msgstr "Фильтр"
|
||||
|
||||
#. Translators: don't translate this, the django catalog already contains it
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Clear all filters"
|
||||
msgstr "Очистить все фильтры"
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Change"
|
||||
msgstr "Изменить"
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View"
|
||||
msgstr "Посмотреть"
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View on site"
|
||||
msgstr "Посмотреть на сайте"
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Delete?"
|
||||
msgstr "Удалить?"
|
||||
|
||||
#: admin_interface/templates/admin/filter.html
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html
|
||||
#, fuzzy, python-format
|
||||
#| msgid " By %(filter_title)s "
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " По %(filter_title)ы "
|
||||
|
||||
#: admin_interface/templates/admin/popup_response.html
|
||||
msgid "Popup closing..."
|
||||
msgstr "Закрытие всплывающего окна..."
|
||||
Binary file not shown.
|
|
@ -8,319 +8,201 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: django-admin-interface\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
|
||||
"POT-Creation-Date: 2020-01-24 06:07+0300\n"
|
||||
"PO-Revision-Date: 2020-01-29 04:53+0300\n"
|
||||
"Last-Translator: Ishak Okutan <ishak.oktn@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: tr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: tr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Poedit 2.2.4\n"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:21
|
||||
msgid "Environment"
|
||||
msgstr "Ortam"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:30
|
||||
msgid "Language chooser"
|
||||
msgstr "Dil seçimi"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:37
|
||||
msgid "Logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:45
|
||||
msgid "Favicon"
|
||||
msgstr "Favicon"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:49
|
||||
msgid "Title"
|
||||
msgstr "Başlık"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:57
|
||||
msgid "Header"
|
||||
msgstr "Üst Kısım"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:66
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Link alanı / Modül başlıkları"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:76
|
||||
msgid "Generic Links"
|
||||
msgstr "Genel Bağlantılar"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:83
|
||||
msgid "Save Buttons"
|
||||
msgstr "Kaydet Butonları"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:91
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Kaldır Butonları"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Navigation Bar"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:99
|
||||
msgid "Related Modal"
|
||||
msgstr "İlgili Modal"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Form Controls"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:109
|
||||
msgid "List Filter"
|
||||
msgstr "Liste Filtresi"
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Change Form"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
msgid "Inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/admin.py
|
||||
#: admin_interface/admin.py:113
|
||||
msgid "Recent Actions"
|
||||
msgstr "Son İşlemler"
|
||||
|
||||
#: admin_interface/apps.py
|
||||
#: admin_interface/apps.py:11
|
||||
msgid "Admin Interface"
|
||||
msgstr "Yönetici Arayüzü"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:72 admin_interface/models.py:116
|
||||
#: admin_interface/models.py:135
|
||||
msgid "name"
|
||||
msgstr "adı"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:75 admin_interface/models.py:132
|
||||
#: admin_interface/models.py:253
|
||||
msgid "active"
|
||||
msgstr "aktif"
|
||||
|
||||
#: admin_interface/models.py admin_interface/templates/admin/base_site.html
|
||||
#: admin_interface/models.py:79
|
||||
#: admin_interface/templates/admin/base_site.html:6
|
||||
#: admin_interface/templates/admin/base_site.html:60
|
||||
msgid "Django administration"
|
||||
msgstr "Django yönetimi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:81
|
||||
msgid "title"
|
||||
msgstr "başlık"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:87 admin_interface/models.py:102
|
||||
#: admin_interface/models.py:122
|
||||
msgid "color"
|
||||
msgstr "renk"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:90 admin_interface/models.py:105
|
||||
#: admin_interface/models.py:289
|
||||
msgid "visible"
|
||||
msgstr "göster"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:95
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Varsayılan Django logosunu kullanmak için boş bırakın"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:96
|
||||
msgid "logo"
|
||||
msgstr "logo"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max width"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "max height"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:110
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr ""
|
||||
"(favicon simgesi, png veya (GIF 16x16) veya (32x32) piksel boyutlarında "
|
||||
"olmalıdır)"
|
||||
"(favicon simgesi, png veya (GIF 16x16) veya (32x32) piksel "
|
||||
"boyutlarında olmalıdır)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:111
|
||||
msgid "favicon"
|
||||
msgstr "favicon"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:120
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
msgstr ""
|
||||
"(kırmızı: # E74C3C, turuncu: # E67E22, sarı: # F1C40F, yeşil: # 2ECC71, "
|
||||
"mavi: # 3498DB)"
|
||||
"(kırmızı: # E74C3C, turuncu: # E67E22, sarı: # F1C40F, yeşil: # "
|
||||
"2ECC71, mavi: # 3498DB)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:125
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "üst kısım da görünsün (yuvarlak işaret ve ad)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:128
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "favicon’da görünsün (yuvarlak işaret)"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Default Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "Minimal Select"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "control"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:134
|
||||
msgid "code"
|
||||
msgstr "kod"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:141
|
||||
msgid "display"
|
||||
msgstr "görüntüle"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:148 admin_interface/models.py:173
|
||||
#: admin_interface/models.py:214 admin_interface/models.py:233
|
||||
#: admin_interface/models.py:259
|
||||
msgid "background color"
|
||||
msgstr "arka plan rengi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:154 admin_interface/models.py:179
|
||||
#: admin_interface/models.py:226 admin_interface/models.py:245
|
||||
#: admin_interface/models.py:249
|
||||
msgid "text color"
|
||||
msgstr "metin rengi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:160 admin_interface/models.py:185
|
||||
#: admin_interface/models.py:201
|
||||
msgid "link color"
|
||||
msgstr "bağlantı rengi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:166 admin_interface/models.py:191
|
||||
#: admin_interface/models.py:207
|
||||
msgid "link hover color"
|
||||
msgstr "bağlantı üzerine gelindiğindeki rengi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "background color"
|
||||
msgid "background selected color"
|
||||
msgstr "arka plan rengi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#, fuzzy
|
||||
#| msgid "link color"
|
||||
msgid "link selected color"
|
||||
msgstr "bağlantı rengi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:194 admin_interface/models.py:279
|
||||
msgid "rounded corners"
|
||||
msgstr "köşeleri ovalleştir"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "link active color"
|
||||
msgstr "bağlantı aktif gelindiğindeki rengi"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:220 admin_interface/models.py:239
|
||||
msgid "background hover color"
|
||||
msgstr "arka planın üzerine gelindiğindeki renk"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:276
|
||||
msgid "background opacity"
|
||||
msgstr "arka plan şeffaflığı"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:282
|
||||
msgid "close button visible"
|
||||
msgstr "kapat düğmesi görünsün"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "highlight active"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:286
|
||||
msgid "use dropdown"
|
||||
msgstr "açılır listeyi kullan"
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky position"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "quick remove links for active filters at top of sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "foldable apps"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "fieldsets as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "inlines as tabs"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible stacked inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "collapsible tabular inlines collapsed"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky submit"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
msgid "sticky pagination"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:298
|
||||
msgid "Theme"
|
||||
msgstr "Tema"
|
||||
|
||||
#: admin_interface/models.py
|
||||
#: admin_interface/models.py:299
|
||||
msgid "Themes"
|
||||
msgstr "Temalar"
|
||||
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
#, fuzzy
|
||||
#| msgid "List Filter"
|
||||
msgid "Filter"
|
||||
msgstr "Liste Filtresi"
|
||||
|
||||
#. Translators: don't translate this, the django catalog already contains it
|
||||
#: admin_interface/templates/admin/change_list.html
|
||||
msgid "Clear all filters"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_stacked.html
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "View on site"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/edit_inline/headerless_tabular.html
|
||||
msgid "Delete?"
|
||||
msgstr ""
|
||||
|
||||
#: admin_interface/templates/admin/filter.html
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html
|
||||
#: admin_interface/templates/admin/filter.html:13
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html:4
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " %(filter_title)s tarafından "
|
||||
|
||||
#: admin_interface/templates/admin/popup_response.html
|
||||
#: admin_interface/templates/admin/popup_response.html:3
|
||||
msgid "Popup closing..."
|
||||
msgstr "Popup kapanıyor..."
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
__author__ = "Fabio Caccamo"
|
||||
__copyright__ = "Copyright (c) 2016-present Fabio Caccamo"
|
||||
__description__ = (
|
||||
"django's default admin interface with superpowers - "
|
||||
"customizable themes, popup windows replaced by modals and many other features."
|
||||
)
|
||||
__email__ = "fabio.caccamo@gmail.com"
|
||||
__license__ = "MIT"
|
||||
__title__ = "django-admin-interface"
|
||||
__version__ = "0.28.6"
|
||||
|
|
@ -1,8 +1,14 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
import colorfield.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = []
|
||||
|
||||
operations = [
|
||||
|
|
@ -18,237 +24,202 @@ class Migration(migrations.Migration):
|
|||
primary_key=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"name",
|
||||
models.CharField(
|
||||
default="Django",
|
||||
max_length=50,
|
||||
),
|
||||
),
|
||||
(
|
||||
"active",
|
||||
models.BooleanField(
|
||||
default=True,
|
||||
),
|
||||
),
|
||||
("name", models.CharField(default=b"Django", max_length=50)),
|
||||
("active", models.BooleanField(default=True)),
|
||||
(
|
||||
"title",
|
||||
models.CharField(
|
||||
default="Django administration",
|
||||
max_length=50,
|
||||
blank=True,
|
||||
default=b"Django administration", max_length=50, blank=True
|
||||
),
|
||||
),
|
||||
(
|
||||
"title_visible",
|
||||
models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
models.BooleanField(default=True, verbose_name=b"visible"),
|
||||
),
|
||||
(
|
||||
"logo",
|
||||
models.FileField(
|
||||
upload_to="admin-interface/logo/",
|
||||
blank=True,
|
||||
),
|
||||
models.FileField(upload_to=b"admin-interface/logo/", blank=True),
|
||||
),
|
||||
(
|
||||
"logo_visible",
|
||||
models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
models.BooleanField(default=True, verbose_name=b"visible"),
|
||||
),
|
||||
(
|
||||
"css_header_background_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#0C4B33",
|
||||
help_text="#0C4B33",
|
||||
default=b"#0C4B33",
|
||||
help_text=b"#0C4B33",
|
||||
max_length=10,
|
||||
verbose_name="background color",
|
||||
verbose_name=b"background color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_header_title_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#F5DD5D",
|
||||
help_text="#F5DD5D",
|
||||
default=b"#F5DD5D",
|
||||
help_text=b"#F5DD5D",
|
||||
max_length=10,
|
||||
verbose_name="title color",
|
||||
verbose_name=b"title color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_header_text_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#44B78B",
|
||||
help_text="#44B78B",
|
||||
default=b"#44B78B",
|
||||
help_text=b"#44B78B",
|
||||
max_length=10,
|
||||
verbose_name="text color",
|
||||
verbose_name=b"text color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_header_link_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#FFFFFF",
|
||||
help_text="#FFFFFF",
|
||||
default=b"#FFFFFF",
|
||||
help_text=b"#FFFFFF",
|
||||
max_length=10,
|
||||
verbose_name="link color",
|
||||
verbose_name=b"link color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_header_link_hover_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#C9F0DD",
|
||||
help_text="#C9F0DD",
|
||||
default=b"#C9F0DD",
|
||||
help_text=b"#C9F0DD",
|
||||
max_length=10,
|
||||
verbose_name="link hover color",
|
||||
verbose_name=b"link hover color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_module_background_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#44B78B",
|
||||
help_text="#44B78B",
|
||||
default=b"#44B78B",
|
||||
help_text=b"#44B78B",
|
||||
max_length=10,
|
||||
verbose_name="background color",
|
||||
verbose_name=b"background color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_module_text_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#FFFFFF",
|
||||
help_text="#FFFFFF",
|
||||
default=b"#FFFFFF",
|
||||
help_text=b"#FFFFFF",
|
||||
max_length=10,
|
||||
verbose_name="text color",
|
||||
verbose_name=b"text color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_module_link_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#FFFFFF",
|
||||
help_text="#FFFFFF",
|
||||
default=b"#FFFFFF",
|
||||
help_text=b"#FFFFFF",
|
||||
max_length=10,
|
||||
verbose_name="link color",
|
||||
verbose_name=b"link color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_module_link_hover_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#C9F0DD",
|
||||
help_text="#C9F0DD",
|
||||
default=b"#C9F0DD",
|
||||
help_text=b"#C9F0DD",
|
||||
max_length=10,
|
||||
verbose_name="link hover color",
|
||||
verbose_name=b"link hover color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_module_rounded_corners",
|
||||
models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="rounded corners",
|
||||
),
|
||||
models.BooleanField(default=True, verbose_name=b"rounded corners"),
|
||||
),
|
||||
(
|
||||
"css_generic_link_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#0C3C26",
|
||||
help_text="#0C3C26",
|
||||
default=b"#0C3C26",
|
||||
help_text=b"#0C3C26",
|
||||
max_length=10,
|
||||
verbose_name="link color",
|
||||
verbose_name=b"link color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_generic_link_hover_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#156641",
|
||||
help_text="#156641",
|
||||
default=b"#156641",
|
||||
help_text=b"#156641",
|
||||
max_length=10,
|
||||
verbose_name="link hover color",
|
||||
verbose_name=b"link hover color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_save_button_background_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#0C4B33",
|
||||
help_text="#0C4B33",
|
||||
default=b"#0C4B33",
|
||||
help_text=b"#0C4B33",
|
||||
max_length=10,
|
||||
verbose_name="background color",
|
||||
verbose_name=b"background color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_save_button_background_hover_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#0C3C26",
|
||||
help_text="#0C3C26",
|
||||
default=b"#0C3C26",
|
||||
help_text=b"#0C3C26",
|
||||
max_length=10,
|
||||
verbose_name="background hover color",
|
||||
verbose_name=b"background hover color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_save_button_text_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#FFFFFF",
|
||||
help_text="#FFFFFF",
|
||||
default=b"#FFFFFF",
|
||||
help_text=b"#FFFFFF",
|
||||
max_length=10,
|
||||
verbose_name="text color",
|
||||
verbose_name=b"text color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_delete_button_background_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#BA2121",
|
||||
help_text="#BA2121",
|
||||
default=b"#BA2121",
|
||||
help_text=b"#BA2121",
|
||||
max_length=10,
|
||||
verbose_name="background color",
|
||||
verbose_name=b"background color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_delete_button_background_hover_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#A41515",
|
||||
help_text="#A41515",
|
||||
default=b"#A41515",
|
||||
help_text=b"#A41515",
|
||||
max_length=10,
|
||||
verbose_name="background hover color",
|
||||
verbose_name=b"background hover color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_delete_button_text_color",
|
||||
colorfield.fields.ColorField(
|
||||
default="#FFFFFF",
|
||||
help_text="#FFFFFF",
|
||||
default=b"#FFFFFF",
|
||||
help_text=b"#FFFFFF",
|
||||
max_length=10,
|
||||
verbose_name="text color",
|
||||
verbose_name=b"text color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css",
|
||||
models.TextField(
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"list_filter_dropdown",
|
||||
models.BooleanField(
|
||||
default=False,
|
||||
),
|
||||
),
|
||||
("css", models.TextField(blank=True)),
|
||||
("list_filter_dropdown", models.BooleanField(default=False)),
|
||||
],
|
||||
options={
|
||||
"verbose_name": "Theme",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
import colorfield.fields
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0001_initial"),
|
||||
]
|
||||
|
|
@ -11,28 +17,22 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="list_filter_dropdown",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="use dropdown",
|
||||
),
|
||||
field=models.BooleanField(default=False, verbose_name=b"use dropdown"),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="related_modal_active",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="active",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name=b"active"),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="related_modal_background_color",
|
||||
field=colorfield.fields.ColorField(
|
||||
blank=True,
|
||||
default="#000000",
|
||||
help_text="#000000",
|
||||
default=b"#000000",
|
||||
help_text=b"#000000",
|
||||
max_length=10,
|
||||
verbose_name="background color",
|
||||
verbose_name=b"background color",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
|
|
@ -40,27 +40,24 @@ class Migration(migrations.Migration):
|
|||
name="related_modal_background_opacity",
|
||||
field=models.FloatField(
|
||||
choices=[
|
||||
(0.1, "10%"),
|
||||
(0.2, "20%"),
|
||||
(0.3, "30%"),
|
||||
(0.4, "40%"),
|
||||
(0.5, "50%"),
|
||||
(0.6, "60%"),
|
||||
(0.7, "70%"),
|
||||
(0.8, "80%"),
|
||||
(0.9, "90%"),
|
||||
(0.1, b"10%"),
|
||||
(0.2, b"20%"),
|
||||
(0.3, b"30%"),
|
||||
(0.4, b"40%"),
|
||||
(0.5, b"50%"),
|
||||
(0.6, b"60%"),
|
||||
(0.7, b"70%"),
|
||||
(0.8, b"80%"),
|
||||
(0.9, b"90%"),
|
||||
],
|
||||
default=0.2,
|
||||
help_text="20%",
|
||||
verbose_name="background opacity",
|
||||
help_text=b"20%",
|
||||
verbose_name=b"background opacity",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="related_modal_rounded_corners",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="rounded corners",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name=b"rounded corners"),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0002_add_related_modal"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0003_add_logo_color"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0004_rename_title_color"),
|
||||
]
|
||||
|
|
@ -10,9 +15,6 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="recent_actions_visible",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="visible"),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0005_add_recent_actions_visible"),
|
||||
]
|
||||
|
|
@ -143,10 +149,7 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="css_module_rounded_corners",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="rounded corners",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="rounded corners"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
|
|
@ -195,34 +198,22 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="list_filter_dropdown",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="use dropdown",
|
||||
),
|
||||
field=models.BooleanField(default=False, verbose_name="use dropdown"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="logo_visible",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="visible"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="name",
|
||||
field=models.CharField(
|
||||
default="Django",
|
||||
max_length=50,
|
||||
),
|
||||
field=models.CharField(default="Django", max_length=50),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="related_modal_active",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="active",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="active"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
|
|
@ -258,18 +249,13 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="related_modal_rounded_corners",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="rounded corners",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="rounded corners"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="title",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
default="Django administration",
|
||||
max_length=50,
|
||||
blank=True, default="Django administration", max_length=50
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
|
|
@ -286,9 +272,6 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="title_visible",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="visible"),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0006_bytes_to_str"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,15 +1,19 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0007_add_favicon"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name="theme",
|
||||
name="related_modal_background_opacity",
|
||||
model_name="theme", name="related_modal_background_opacity"
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0008_change_related_modal_background_opacity_type"),
|
||||
]
|
||||
|
|
@ -25,9 +30,6 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="env_visible",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="visible"),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0009_add_enviroment"),
|
||||
]
|
||||
|
|
@ -10,18 +15,12 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="active",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="active",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="active"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="css",
|
||||
field=models.TextField(
|
||||
blank=True,
|
||||
verbose_name="text color",
|
||||
),
|
||||
field=models.TextField(blank=True, verbose_name="text color"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
|
|
@ -52,9 +51,7 @@ class Migration(migrations.Migration):
|
|||
model_name="theme",
|
||||
name="name",
|
||||
field=models.CharField(
|
||||
default="Django",
|
||||
max_length=50,
|
||||
verbose_name="name",
|
||||
default="Django", max_length=50, verbose_name="name"
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0010_add_localization"),
|
||||
]
|
||||
|
|
@ -16,11 +22,7 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="env_name",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
max_length=50,
|
||||
verbose_name="name",
|
||||
),
|
||||
field=models.CharField(blank=True, max_length=50, verbose_name="name"),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
|
|
@ -28,10 +30,7 @@ class Migration(migrations.Migration):
|
|||
field=colorfield.fields.ColorField(
|
||||
blank=True,
|
||||
default="#E74C3C",
|
||||
help_text=(
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, "
|
||||
"green: #2ECC71, blue: #3498DB)"
|
||||
),
|
||||
help_text="(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: #3498DB)",
|
||||
max_length=10,
|
||||
verbose_name="color",
|
||||
),
|
||||
|
|
@ -45,16 +44,14 @@ class Migration(migrations.Migration):
|
|||
model_name="theme",
|
||||
name="env_visible_in_header",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible in header (marker and name)",
|
||||
default=True, verbose_name="visible in header (marker and name)"
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="env_visible_in_favicon",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible in favicon (marker)",
|
||||
default=True, verbose_name="visible in favicon (marker)"
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0011_add_environment_options"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0012_update_verbose_names"),
|
||||
]
|
||||
|
|
@ -11,8 +16,7 @@ class Migration(migrations.Migration):
|
|||
model_name="theme",
|
||||
name="related_modal_close_button_visible",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="close button visible",
|
||||
default=True, verbose_name="close button visible"
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0013_add_related_modal_close_button"),
|
||||
]
|
||||
|
|
@ -11,10 +16,7 @@ class Migration(migrations.Migration):
|
|||
model_name="theme",
|
||||
name="name",
|
||||
field=models.CharField(
|
||||
default="Django",
|
||||
max_length=50,
|
||||
unique=True,
|
||||
verbose_name="name",
|
||||
default="Django", max_length=50, unique=True, verbose_name="name"
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0014_name_unique"),
|
||||
]
|
||||
|
|
@ -10,9 +15,6 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="language_chooser_active",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="active",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="active"),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0015_add_language_chooser_active"),
|
||||
]
|
||||
|
|
@ -11,10 +16,7 @@ class Migration(migrations.Migration):
|
|||
model_name="theme",
|
||||
name="language_chooser_display",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("code", "code"),
|
||||
("name", "name"),
|
||||
],
|
||||
choices=[("code", "code"), ("name", "name")],
|
||||
default="code",
|
||||
max_length=10,
|
||||
verbose_name="display",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0016_add_language_chooser_display"),
|
||||
]
|
||||
|
|
@ -10,9 +15,6 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="list_filter_dropdown",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="use dropdown",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="use dropdown"),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0017_change_list_filter_dropdown"),
|
||||
]
|
||||
|
|
@ -10,9 +15,6 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="list_filter_sticky",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="sticky position",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="sticky position"),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0018_theme_list_filter_sticky"),
|
||||
]
|
||||
|
|
@ -10,17 +15,11 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="form_pagination_sticky",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="sticky pagination",
|
||||
),
|
||||
field=models.BooleanField(default=False, verbose_name="sticky pagination"),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="form_submit_sticky",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="sticky submit",
|
||||
),
|
||||
field=models.BooleanField(default=False, verbose_name="sticky submit"),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
import colorfield.fields
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
from django.db.models import F
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
|
||||
def default_link_selected(apps, schema_editor):
|
||||
Theme = apps.get_model("admin_interface", "Theme")
|
||||
|
|
@ -12,6 +17,7 @@ def default_link_selected(apps, schema_editor):
|
|||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0019_add_form_sticky"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
from django.core.validators import FileExtensionValidator
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from admin_interface.compat import FileExtensionValidator
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0020_module_selected_colors"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0021_file_extension_validator"),
|
||||
]
|
||||
|
|
@ -11,18 +16,14 @@ class Migration(migrations.Migration):
|
|||
model_name="theme",
|
||||
name="logo_max_height",
|
||||
field=models.PositiveSmallIntegerField(
|
||||
blank=True,
|
||||
default=100,
|
||||
verbose_name="max height",
|
||||
blank=True, default=100, verbose_name="max height"
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="logo_max_width",
|
||||
field=models.PositiveSmallIntegerField(
|
||||
blank=True,
|
||||
default=400,
|
||||
verbose_name="max width",
|
||||
blank=True, default=400, verbose_name="max width"
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0022_add_logo_max_width_and_height"),
|
||||
]
|
||||
|
|
@ -10,9 +15,6 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="foldable_apps",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="foldable apps",
|
||||
),
|
||||
field=models.BooleanField(default=True, verbose_name="foldable apps"),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0023_theme_foldable_apps"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0030_theme_collapsible_stacked_inlines_and_more"),
|
||||
("admin_interface", "0024_remove_theme_css"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0024_remove_theme_css"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="language_chooser_control",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("default-select", "Default Select"),
|
||||
("minimal-select", "Minimal Select"),
|
||||
],
|
||||
default="default-select",
|
||||
max_length=20,
|
||||
verbose_name="control",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
@ -8,7 +8,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0031_add_demo_option"),
|
||||
("admin_interface", "0025_add_demo_option"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0025_theme_language_chooser_control"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="list_filter_highlight",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="highlight active",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0026_theme_list_filter_highlight"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="list_filter_removal_links",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="quick remove links for active filters at top of sidebar",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
@ -9,7 +9,7 @@ class Migration(migrations.Migration):
|
|||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('admin_interface', '0032_add_user_option'),
|
||||
('admin_interface', '0026_add_user_option'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
|
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('admin_interface', '0033_usertheme_m2m'),
|
||||
('admin_interface', '0027_usertheme_m2m'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0027_theme_list_filter_removal_links"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="show_fieldsets_as_tabs",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="fieldsets as tabs",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="show_inlines_as_tabs",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="inlines as tabs",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
@ -19,7 +19,7 @@ def reverse(apps, schema_editor):
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('admin_interface', '0034_alter_theme_demo'),
|
||||
('admin_interface', '0028_alter_theme_demo'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
import colorfield.fields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0028_theme_show_fieldsets_as_tabs_and_more"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="css_generic_link_active_color",
|
||||
field=colorfield.fields.ColorField(
|
||||
blank=True,
|
||||
default="#29B864",
|
||||
help_text="#29B864",
|
||||
image_field=None,
|
||||
max_length=10,
|
||||
samples=None,
|
||||
verbose_name="link active color",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0029_theme_css_generic_link_active_color"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="collapsible_stacked_inlines",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="collapsible stacked inlines",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="collapsible_stacked_inlines_collapsed",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="collapsible stacked inlines collapsed",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="collapsible_tabular_inlines",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="collapsible tabular inlines",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="collapsible_tabular_inlines_collapsed",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="collapsible tabular inlines collapsed",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
# Generated by Django 4.0.3 on 2023-01-30 14:00
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('admin_interface', '0035_auto_20221025_1559'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='theme',
|
||||
name='default',
|
||||
field=models.BooleanField(default=False, verbose_name='default'),
|
||||
),
|
||||
]
|
||||
|
|
@ -1,16 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import inspect
|
||||
|
||||
from colorfield.fields import ColorField
|
||||
from django.core.validators import FileExtensionValidator
|
||||
from django.db import models
|
||||
from django.db.models.signals import post_delete, post_save, pre_save
|
||||
from django.dispatch import receiver
|
||||
from django.utils.encoding import force_str
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from six import python_2_unicode_compatible
|
||||
|
||||
from .cache import del_cached_active_theme
|
||||
from admin_interface.cache import del_cached_active_theme
|
||||
from admin_interface.compat import FileExtensionValidator, force_str
|
||||
from admin_interface.compat import gettext_lazy as _
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class UserTheme(models.Model):
|
||||
class Meta:
|
||||
verbose_name = 'Users theme'
|
||||
|
|
@ -21,19 +25,48 @@ class UserTheme(models.Model):
|
|||
theme = models.ForeignKey('Theme', on_delete=models.CASCADE)
|
||||
|
||||
|
||||
class ThemeQuerySet(models.QuerySet):
|
||||
def get_active(self):
|
||||
user_theme_manager = UserTheme.objects
|
||||
objs_active_qs = self.filter(active=True)
|
||||
@python_2_unicode_compatible
|
||||
class Theme(models.Model):
|
||||
@staticmethod
|
||||
def post_migrate_handler(**kwargs):
|
||||
del_cached_active_theme()
|
||||
Theme.get_active_theme()
|
||||
|
||||
@staticmethod
|
||||
def post_delete_handler(**kwargs):
|
||||
del_cached_active_theme()
|
||||
Theme.get_active_theme()
|
||||
|
||||
# @staticmethod
|
||||
# def post_save_handler(instance, **kwargs):
|
||||
# del_cached_active_theme()
|
||||
# if instance.active:
|
||||
# Theme.objects.exclude(pk=instance.pk).update(active=False)
|
||||
# Theme.get_active_theme()
|
||||
|
||||
# @staticmethod
|
||||
# def pre_save_handler(instance, **kwargs):
|
||||
# if instance.pk is None:
|
||||
# try:
|
||||
# obj = Theme.objects.get(name=instance.name)
|
||||
# if obj:
|
||||
# instance.pk = obj.pk
|
||||
# except Theme.DoesNotExist:
|
||||
# pass
|
||||
|
||||
@staticmethod
|
||||
def get_active_theme():
|
||||
objs_manager = Theme.objects
|
||||
objs_active_qs = objs_manager.filter(active=True)
|
||||
objs_active_ls = list(objs_active_qs)
|
||||
objs_active_count = len(objs_active_ls)
|
||||
|
||||
if objs_active_count == 0:
|
||||
obj = self.all().first()
|
||||
obj = objs_manager.all().first()
|
||||
if obj:
|
||||
obj.set_active()
|
||||
# else:
|
||||
# obj = self.create()
|
||||
# obj = objs_manager.create()
|
||||
|
||||
elif objs_active_count == 1:
|
||||
obj = objs_active_ls[0]
|
||||
|
|
@ -48,35 +81,19 @@ class ThemeQuerySet(models.QuerySet):
|
|||
request = None
|
||||
|
||||
try:
|
||||
return user_theme_manager.filter(user=user, theme__active=True).first().theme
|
||||
return objs_active_qs.filter(user=user).first()
|
||||
except:
|
||||
objs_default_qs = objs_active_qs.filter(default=True)
|
||||
if len(objs_default_qs) == 0:
|
||||
obj = objs_active_qs.first()
|
||||
if obj:
|
||||
obj.set_default()
|
||||
else:
|
||||
obj = objs_default_qs.first()
|
||||
obj = objs_active_ls[-1]
|
||||
obj.set_active()
|
||||
|
||||
return obj
|
||||
|
||||
|
||||
class Theme(models.Model):
|
||||
name = models.CharField(
|
||||
unique=True,
|
||||
max_length=50,
|
||||
default="Django",
|
||||
verbose_name=_("name"),
|
||||
)
|
||||
active = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("active"),
|
||||
unique=True, max_length=50, default="Django", verbose_name=_("name")
|
||||
)
|
||||
active = models.BooleanField(default=True, verbose_name=_("active"))
|
||||
|
||||
demo = models.BooleanField(default=False, verbose_name=_("is demo"))
|
||||
|
||||
default = models.BooleanField(default=False, verbose_name="default")
|
||||
|
||||
users = models.ManyToManyField('auth.User', through=UserTheme)
|
||||
|
||||
title = models.CharField(
|
||||
|
|
@ -93,9 +110,7 @@ class Theme(models.Model):
|
|||
verbose_name=_("color"),
|
||||
)
|
||||
title_visible = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("visible"),
|
||||
)
|
||||
default=True, verbose_name=_("visible"))
|
||||
|
||||
logo = models.FileField(
|
||||
upload_to="admin-interface/logo/",
|
||||
|
|
@ -116,19 +131,12 @@ class Theme(models.Model):
|
|||
verbose_name=_("color"),
|
||||
)
|
||||
logo_max_width = models.PositiveSmallIntegerField(
|
||||
blank=True,
|
||||
default=400,
|
||||
verbose_name=_("max width"),
|
||||
blank=True, default=400, verbose_name=_("max width")
|
||||
)
|
||||
logo_max_height = models.PositiveSmallIntegerField(
|
||||
blank=True,
|
||||
default=100,
|
||||
verbose_name=_("max height"),
|
||||
)
|
||||
logo_visible = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("visible"),
|
||||
blank=True, default=100, verbose_name=_("max height")
|
||||
)
|
||||
logo_visible = models.BooleanField(default=True, verbose_name=_("visible"))
|
||||
|
||||
favicon = models.FileField(
|
||||
upload_to="admin-interface/favicon/",
|
||||
|
|
@ -143,42 +151,25 @@ class Theme(models.Model):
|
|||
)
|
||||
|
||||
env_name = models.CharField(
|
||||
blank=True,
|
||||
max_length=50,
|
||||
verbose_name=_("name"),
|
||||
)
|
||||
blank=True, max_length=50, verbose_name=_("name"))
|
||||
env_color = ColorField(
|
||||
blank=True,
|
||||
default="#E74C3C",
|
||||
help_text=_(
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, "
|
||||
"green: #2ECC71, blue: #3498DB)"
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: #3498DB)"
|
||||
),
|
||||
max_length=10,
|
||||
verbose_name=_("color"),
|
||||
)
|
||||
env_visible_in_header = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("visible in header (marker and name)"),
|
||||
default=True, verbose_name=_("visible in header (marker and name)")
|
||||
)
|
||||
env_visible_in_favicon = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("visible in favicon (marker)"),
|
||||
default=True, verbose_name=_("visible in favicon (marker)")
|
||||
)
|
||||
|
||||
language_chooser_active = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("active"),
|
||||
)
|
||||
language_chooser_control_choices = (
|
||||
("default-select", _("Default Select")),
|
||||
("minimal-select", _("Minimal Select")),
|
||||
)
|
||||
language_chooser_control = models.CharField(
|
||||
max_length=20,
|
||||
choices=language_chooser_control_choices,
|
||||
default="default-select",
|
||||
verbose_name=_("control"),
|
||||
default=True, verbose_name=_("active")
|
||||
)
|
||||
language_chooser_display_choices = (
|
||||
("code", _("code")),
|
||||
|
|
@ -263,8 +254,7 @@ class Theme(models.Model):
|
|||
verbose_name=_("link hover color"),
|
||||
)
|
||||
css_module_rounded_corners = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("rounded corners"),
|
||||
default=True, verbose_name=_("rounded corners")
|
||||
)
|
||||
|
||||
css_generic_link_color = ColorField(
|
||||
|
|
@ -281,13 +271,6 @@ class Theme(models.Model):
|
|||
max_length=10,
|
||||
verbose_name=_("link hover color"),
|
||||
)
|
||||
css_generic_link_active_color = ColorField(
|
||||
blank=True,
|
||||
default="#29B864",
|
||||
help_text="#29B864",
|
||||
max_length=10,
|
||||
verbose_name=_("link active color"),
|
||||
)
|
||||
|
||||
css_save_button_background_color = ColorField(
|
||||
blank=True,
|
||||
|
|
@ -334,9 +317,7 @@ class Theme(models.Model):
|
|||
)
|
||||
|
||||
related_modal_active = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("active"),
|
||||
)
|
||||
default=True, verbose_name=_("active"))
|
||||
related_modal_background_color = ColorField(
|
||||
blank=True,
|
||||
default="#000000",
|
||||
|
|
@ -363,94 +344,40 @@ class Theme(models.Model):
|
|||
verbose_name=_("background opacity"),
|
||||
)
|
||||
related_modal_rounded_corners = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("rounded corners"),
|
||||
default=True, verbose_name=_("rounded corners")
|
||||
)
|
||||
related_modal_close_button_visible = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("close button visible"),
|
||||
default=True, verbose_name=_("close button visible")
|
||||
)
|
||||
|
||||
list_filter_highlight = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("highlight active"),
|
||||
)
|
||||
list_filter_dropdown = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("use dropdown"),
|
||||
default=True, verbose_name=_("use dropdown")
|
||||
)
|
||||
list_filter_sticky = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("sticky position"),
|
||||
)
|
||||
list_filter_removal_links = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("quick remove links for active filters at top of sidebar"),
|
||||
default=True, verbose_name=_("sticky position")
|
||||
)
|
||||
|
||||
foldable_apps = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("foldable apps"),
|
||||
)
|
||||
|
||||
show_fieldsets_as_tabs = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("fieldsets as tabs"),
|
||||
)
|
||||
|
||||
show_inlines_as_tabs = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("inlines as tabs"),
|
||||
)
|
||||
|
||||
collapsible_stacked_inlines = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("collapsible stacked inlines"),
|
||||
)
|
||||
collapsible_stacked_inlines_collapsed = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("collapsible stacked inlines collapsed"),
|
||||
)
|
||||
collapsible_tabular_inlines = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("collapsible tabular inlines"),
|
||||
)
|
||||
collapsible_tabular_inlines_collapsed = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("collapsible tabular inlines collapsed"),
|
||||
)
|
||||
default=True, verbose_name=_("foldable apps"))
|
||||
|
||||
recent_actions_visible = models.BooleanField(
|
||||
default=True,
|
||||
verbose_name=_("visible"),
|
||||
default=True, verbose_name=_("visible")
|
||||
)
|
||||
|
||||
form_submit_sticky = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("sticky submit"),
|
||||
default=False, verbose_name=_("sticky submit")
|
||||
)
|
||||
form_pagination_sticky = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("sticky pagination"),
|
||||
default=False, verbose_name=_("sticky pagination")
|
||||
)
|
||||
|
||||
objects = ThemeQuerySet.as_manager()
|
||||
|
||||
def set_active(self):
|
||||
self.active = True
|
||||
self.save()
|
||||
|
||||
def set_default(self):
|
||||
self.default = True
|
||||
self.save()
|
||||
|
||||
def save(self):
|
||||
if self.default:
|
||||
Theme.objects.update(default=False)
|
||||
super().save()
|
||||
|
||||
class Meta:
|
||||
app_label = "admin_interface"
|
||||
|
||||
verbose_name = _("Theme")
|
||||
verbose_name_plural = _("Themes")
|
||||
|
||||
|
|
@ -458,25 +385,6 @@ class Theme(models.Model):
|
|||
return force_str(self.name)
|
||||
|
||||
|
||||
@receiver(post_delete, sender=Theme)
|
||||
def post_delete_handler(sender, instance, **kwargs):
|
||||
del_cached_active_theme()
|
||||
Theme.objects.get_active()
|
||||
|
||||
|
||||
# @receiver(post_save, sender=Theme)
|
||||
# def post_save_handler(sender, instance, **kwargs):
|
||||
# del_cached_active_theme()
|
||||
# if instance.active:
|
||||
# Theme.objects.exclude(pk=instance.pk).update(active=False)
|
||||
# Theme.objects.get_active()
|
||||
|
||||
|
||||
# @receiver(pre_save, sender=Theme)
|
||||
# def pre_save_handler(sender, instance, **kwargs):
|
||||
# if instance.pk is None:
|
||||
# try:
|
||||
# obj = Theme.objects.get(name=instance.name)
|
||||
# instance.pk = obj.pk
|
||||
# except Theme.DoesNotExist:
|
||||
# pass
|
||||
post_delete.connect(Theme.post_delete_handler, sender=Theme)
|
||||
# post_save.connect(Theme.post_save_handler, sender=Theme)
|
||||
# pre_save.connect(Theme.pre_save_handler, sender=Theme)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import django
|
||||
from django.conf import settings
|
||||
from django.core.exceptions import ImproperlyConfigured
|
||||
|
|
@ -27,3 +29,5 @@ def check_installed_app(app, max_dj_version=None):
|
|||
|
||||
def check_installed_apps():
|
||||
check_installed_app("colorfield")
|
||||
check_installed_app("flat", max_dj_version=(1, 9))
|
||||
check_installed_app("flat_responsive", max_dj_version=(2, 0))
|
||||
|
|
|
|||
|
|
@ -1,49 +0,0 @@
|
|||
/*global gettext*/
|
||||
/* copied from django 4.0.7 */
|
||||
'use strict';
|
||||
{
|
||||
window.addEventListener('load', function() {
|
||||
// Add anchor tag for Show/Hide link
|
||||
const fieldsets = document.querySelectorAll('fieldset.collapse');
|
||||
for (const [i, elem] of fieldsets.entries()) {
|
||||
// Don't hide if fields in this fieldset have errors
|
||||
if (elem.querySelectorAll('div.errors, ul.errorlist').length === 0) {
|
||||
const h2 = elem.querySelector('h2');
|
||||
const link = document.createElement('a');
|
||||
link.id = 'fieldsetcollapser' + i;
|
||||
link.className = 'collapse-toggle';
|
||||
link.href = '#';
|
||||
// changed: can opt into starting visible
|
||||
if (elem.classList.contains('expanded')) {
|
||||
link.textContent = gettext('Hide');
|
||||
} else {
|
||||
link.textContent = gettext('Show');
|
||||
elem.classList.add('collapsed');
|
||||
}
|
||||
h2.appendChild(document.createTextNode(' ('));
|
||||
h2.appendChild(link);
|
||||
h2.appendChild(document.createTextNode(')'));
|
||||
}
|
||||
}
|
||||
// Add toggle to hide/show anchor tag
|
||||
const toggleFunc = function(ev) {
|
||||
if (ev.target.matches('.collapse-toggle')) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
const fieldset = ev.target.closest('fieldset');
|
||||
if (fieldset.classList.contains('collapsed')) {
|
||||
// Show
|
||||
ev.target.textContent = gettext('Hide');
|
||||
fieldset.classList.remove('collapsed');
|
||||
} else {
|
||||
// Hide
|
||||
ev.target.textContent = gettext('Show');
|
||||
fieldset.classList.add('collapsed');
|
||||
}
|
||||
}
|
||||
};
|
||||
document.querySelectorAll('fieldset.module').forEach(function(el) {
|
||||
el.addEventListener('click', toggleFunc);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
@ -42,6 +42,10 @@
|
|||
if (typeof(openerRef.dismissAddRelatedObjectPopup) === 'function') {
|
||||
openerRef.dismissAddRelatedObjectPopup(windowRef, initData.value, initData.obj);
|
||||
}
|
||||
else if (typeof(openerRef.dismissAddAnotherPopup) === 'function') {
|
||||
// django 1.7 compatibility
|
||||
openerRef.dismissAddAnotherPopup(windowRef, initData.value, initData.obj);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,48 +0,0 @@
|
|||
/** global: django */
|
||||
|
||||
if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined')
|
||||
{
|
||||
(function($) {
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
function collapsibleInline(scope, collapsed) {
|
||||
var fieldsetCollapsed = collapsed;
|
||||
var fieldsetEl = $(scope).find('> fieldset.module');
|
||||
fieldsetEl.addClass('collapse');
|
||||
var fieldsetHasErrors = (fieldsetEl.children('.errors').length > 0);
|
||||
if (fieldsetHasErrors === true) {
|
||||
fieldsetCollapsed = false;
|
||||
}
|
||||
if (fieldsetCollapsed === true) {
|
||||
fieldsetEl.addClass('collapsed');
|
||||
}
|
||||
var collapseToggleText = (fieldsetCollapsed ? gettext('Show') : gettext('Hide'));
|
||||
var collapseToggleHTML = ' (<a class="collapse-toggle" href="#">' + collapseToggleText + '</a>)';
|
||||
var headerEl = fieldsetEl.find('> h2,> h3');
|
||||
if (headerEl.find(".collapse-toggle").length === 0) {
|
||||
// don't add collapse toggle button if already present
|
||||
headerEl.append(collapseToggleHTML);
|
||||
}
|
||||
}
|
||||
|
||||
var stackedInlinesOptionSel = '.admin-interface.collapsible-stacked-inlines';
|
||||
var stackedInlinesSel = stackedInlinesOptionSel + ' .inline-group[data-inline-type="stacked"]';
|
||||
var stackedInlinesCollapsed = $(stackedInlinesOptionSel).hasClass('collapsible-stacked-inlines-collapsed');
|
||||
|
||||
var tabularInlinesOptionSel = '.admin-interface.collapsible-tabular-inlines';
|
||||
var tabularInlinesSel = tabularInlinesOptionSel + ' .inline-group[data-inline-type="tabular"] .inline-related.tabular';
|
||||
var tabularInlinesCollapsed = $(stackedInlinesOptionSel).hasClass('collapsible-tabular-inlines-collapsed');
|
||||
|
||||
$(stackedInlinesSel).each(function() {
|
||||
collapsibleInline(this, stackedInlinesCollapsed);
|
||||
});
|
||||
|
||||
$(tabularInlinesSel).each(function() {
|
||||
collapsibleInline(this, tabularInlinesCollapsed);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
})(django.jQuery);
|
||||
}
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
/* fix form submit buttons alignemnt and ordering */
|
||||
@media (min-width: 768px) {
|
||||
.admin-interface .submit-row {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
.admin-interface .submit-row input[name="_save"] {
|
||||
order: 1;
|
||||
}
|
||||
.admin-interface .submit-row input[name="_continue"] {
|
||||
order: 2;
|
||||
}
|
||||
.admin-interface .submit-row input[name="_addanother"] {
|
||||
order: 3;
|
||||
}
|
||||
.admin-interface .submit-row a.deletelink {
|
||||
order: 4;
|
||||
margin-left: 0;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
/* endfix */
|
||||
|
||||
/* fix help-text horizontal alignment when using show-fieldsets-as-tabs / show-inlines-as-tabs options - #317 */
|
||||
.admin-interface.show-fieldsets-as-tabs fieldset > .form-row .help,
|
||||
.admin-interface.show-inlines-as-tabs .inline-related > fieldset .help {
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
.admin-interface.show-fieldsets-as-tabs fieldset > .form-row div:has(.related-widget-wrapper .selector) + .help,
|
||||
.admin-interface.show-inlines-as-tabs .inline-related > fieldset div:has(.related-widget-wrapper .selector) + .help {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
/* endfix */
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
@media (min-width: 1024px) {
|
||||
.admin-interface #changelist .actions .button,
|
||||
.admin-interface #changelist .actions .action-counter {
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-interface #changelist-form .results {
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
/* fix searchbar overriden padding */
|
||||
.admin-interface #changelist #changelist-search #searchbar {
|
||||
padding: 2px 5px 3px 5px;
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.admin-interface #changelist #changelist-search #searchbar,
|
||||
.admin-interface #changelist #changelist-search input[type="submit"],
|
||||
.admin-interface #changelist #changelist-search .quiet {
|
||||
margin-left: 8px;
|
||||
}
|
||||
.admin-interface #changelist #changelist-search label img {
|
||||
vertical-align: text-top;
|
||||
margin-right: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.admin-interface #changelist #toolbar {
|
||||
border-top: 1px solid #eee;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
/* fixed changelist search size when there are search results and .quiet is visible */
|
||||
.admin-interface #changelist-search label img {
|
||||
margin-top: 2px;
|
||||
}
|
||||
.admin-interface #changelist-search .quiet {
|
||||
margin: 0 0 0 10px;
|
||||
align-self: center;
|
||||
flex-basis: content;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
.admin-interface fieldset.collapse {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.admin-interface fieldset.collapse.collapsed a.collapse-toggle,
|
||||
.admin-interface fieldset.collapse a.collapse-toggle,
|
||||
.admin-interface .inline-group .inline-related fieldset.module a.collapse-toggle,
|
||||
.admin-interface .inline-group .inline-related fieldset.module.collapsed a.collapse-toggle {
|
||||
font-weight: normal;
|
||||
text-transform: lowercase;
|
||||
font-size: 12px;
|
||||
text-decoration: underline;
|
||||
padding: 0 1px;
|
||||
}
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
.admin-interface .file-thumbnail > a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.admin-interface .aligned p.file-upload {
|
||||
display: table;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.admin-interface form .form-row p.file-upload > a {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.admin-interface form .form-row p.file-upload .clearable-file-input {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.admin-interface form .form-row p.file-upload .clearable-file-input label {
|
||||
padding-bottom: 0px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.admin-interface form .form-row p.file-upload > input[type="file"] {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
@media (max-width:767px){
|
||||
|
||||
.admin-interface form .form-row p.file-upload {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.admin-interface form .form-row p.file-upload > a {
|
||||
margin-right: 0px;
|
||||
display: block;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.admin-interface form .form-row p.file-upload .clearable-file-input {
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
margin-left: 0;
|
||||
margin-bottom: -10px;
|
||||
}
|
||||
|
||||
.admin-interface form .form-row p.file-upload > input[type="file"] {
|
||||
display: block;
|
||||
width: auto;
|
||||
padding: 0px;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
.admin-interface #header {
|
||||
height: auto;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@media (max-width:1024px) {
|
||||
.admin-interface #header {
|
||||
align-items: start;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-interface #branding h1 img.logo {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
margin-right: 15px;
|
||||
display: inline-block !important; /* override inline display:none; */
|
||||
}
|
||||
|
||||
.admin-interface #branding h1 span {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.admin-interface #branding h1 img.logo+span {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.admin-interface #user-tools {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
white-space: nowrap;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.admin-interface #user-tools br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.admin-interface #user-tools br {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/* hide theme toggle button until dark theme will be supported */
|
||||
.admin-interface #user-tools button.theme-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -1,105 +0,0 @@
|
|||
/* begin fix help text icon on newline */
|
||||
.admin-interface .inline-group thead th {
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
.admin-interface .inline-group thead th img {
|
||||
vertical-align: -2px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.admin-interface .inline-group .inlinechangelink {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.admin-interface .inline-group .inline-related.tabular .inlinechangelink {
|
||||
background-size: contain;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
/* begin fix restrict tabular-inline horizontal-scroll to inline-group instead of whole page */
|
||||
.admin-interface .inline-group[data-inline-type="tabular"] {
|
||||
overflow-x: auto;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
/* begin fix stacked-inline margin-bottom in responsive small viewport */
|
||||
.admin-interface .inline-group[data-inline-type="stacked"] .module {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
/* begin fix tabular inlines horizontal scroll */
|
||||
.admin-interface .inline-related.tabular {
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
.admin-interface .inline-related.tabular fieldset.module {
|
||||
display: contents;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
}
|
||||
.admin-interface .inline-related.tabular fieldset.module h2 {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
}
|
||||
.admin-interface .inline-related.tabular fieldset.module table {
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
.admin-interface .inline-related.tabular fieldset.module table tbody tr {
|
||||
position: relative;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
.admin-interface .inline-related h3 {
|
||||
padding: 6px 10px;
|
||||
}
|
||||
|
||||
/* begin fix issue #12 - Inlines bad delete buttons alignement */
|
||||
.admin-interface .inline-group .tabular thead th:last-child:not([class]):not([style]) {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.admin-interface .inline-group .tabular tr td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.admin-interface .inline-group .tabular tr td.delete {
|
||||
text-align: right;
|
||||
padding-right: 15px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.admin-interface .inline-group .tabular tr td input[type="checkbox"] {
|
||||
margin: 7px 0px;
|
||||
}
|
||||
|
||||
.admin-interface .inline-group .tabular tr td.delete a.inline-deletelink {
|
||||
margin-top: 4px;
|
||||
overflow: hidden;
|
||||
text-indent: 9999px;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
/* begin fix remove button at the end od dynamically added inline rows */
|
||||
.admin-interface .inline-group .tabular tr td:not(.delete) * + div:has(> a.inline-deletelink) {
|
||||
display: inline-block;
|
||||
margin-bottom: -3px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
/* begin fix issue #13 - Datetime widget broken in long inlines */
|
||||
.admin-interface .inline-group .inline-related p.datetime {
|
||||
white-space: nowrap;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
/* begin fix inline horizontal scroll caused by checkbox-row */
|
||||
@media (max-width:767px){
|
||||
.admin-interface form .form-row > div.checkbox-row {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
/* end fix */
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
.admin-interface .language-chooser {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.admin-interface .language-chooser {
|
||||
right: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.admin-interface .language-chooser {
|
||||
position: static;
|
||||
margin-left: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-interface .language-chooser .language-chooser-hidden-form {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin-interface .language-chooser .language-chooser-select-form {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.admin-interface .language-chooser select {
|
||||
width: auto;
|
||||
min-width: auto;
|
||||
}
|
||||
|
||||
.admin-interface .language-chooser.minimal .language-chooser-select-form::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
top: 50%;
|
||||
border: solid var(--admin-interface-header-text-color);
|
||||
border-width: 0px 0px 1px 1px;
|
||||
display: inline-block;
|
||||
padding: 2px;
|
||||
transform: rotate(-45deg);
|
||||
-webkit-transform: rotate(-45deg);
|
||||
pointer-events: none;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
.admin-interface .language-chooser.minimal .language-chooser-select-form:hover select {
|
||||
border-bottom: 1px solid transparent;
|
||||
color: var(--admin-interface-header-link-hover-color);
|
||||
}
|
||||
|
||||
.admin-interface .language-chooser.minimal select {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
|
||||
border-radius: 0;
|
||||
color: var(--admin-interface-header-link-color);
|
||||
cursor: pointer;
|
||||
font-weight: inherit;
|
||||
font-size: inherit;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
padding: 0 15px 0 0;
|
||||
}
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
/*
|
||||
list-filter-dropdown
|
||||
*/
|
||||
|
||||
.admin-interface #changelist-filter .list-filter-dropdown {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.admin-interface #changelist-filter h2 + .list-filter-dropdown,
|
||||
.admin-interface #changelist-filter .list-filter-dropdown + .list-filter-dropdown {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.admin-interface #changelist-filter .list-filter-dropdown h3 {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.admin-interface #changelist-filter .list-filter-dropdown select {
|
||||
background-color: #FFFFFF;
|
||||
width: calc(100% - 30px);
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.admin-interface.list-filter-highlight #changelist-filter .list-filter-dropdown h3.active + div select {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
.admin-interface .module.filtered h2 {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
.admin-interface .module.filtered #changelist-filter {
|
||||
min-width: 240px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.admin-interface .module.filtered #changelist-filter {
|
||||
min-width: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-interface .module.filtered #changelist-filter h2 {
|
||||
font-size: 11px;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
.admin-interface .module.filtered #changelist-filter h2 + h3 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.admin-interface .module.filtered #changelist-filter h3 {
|
||||
margin-top: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
.admin-interface.login #container {
|
||||
width: 100%;
|
||||
max-width: 360px;
|
||||
margin: 15px auto;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
}
|
||||
|
||||
.admin-interface.login #content {
|
||||
padding: 15px 30px 30px 30px;
|
||||
}
|
||||
|
||||
@media (min-width:768px){
|
||||
.admin-interface.login #container {
|
||||
margin: 90px auto;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-interface.login #header {
|
||||
min-height: auto;
|
||||
padding: 10px 30px;
|
||||
line-height: 30px;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.admin-interface.login #header #branding h1 {
|
||||
margin-right:0;
|
||||
}
|
||||
|
||||
.admin-interface.login #header #branding h1 img.logo {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.admin-interface.login #header #branding h1 img.logo+span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.admin-interface.login #login-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.admin-interface.login .submit-row {
|
||||
float: left;
|
||||
width: 100%;
|
||||
margin-top: 20px;
|
||||
padding-top: 0;
|
||||
padding-left: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.admin-interface.login .submit-row label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin-interface.login .submit-row input[type="submit"] {
|
||||
width: 100%;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.admin-interface.login #footer {
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
/* begin fix lateral padding to align text with field labels */
|
||||
.admin-interface .module h2,
|
||||
.admin-interface.dashboard .module caption,
|
||||
.admin-interface.dashboard .module th,
|
||||
.admin-interface .module.filtered h2,
|
||||
.admin-interface .inline-group h2,
|
||||
.admin-interface #nav-sidebar .module caption,
|
||||
.admin-interface #nav-sidebar .module th {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
/* end fix */
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
/* fix nav-sidebar (added in django 3.1.0) */
|
||||
.admin-interface #toggle-nav-sidebar {
|
||||
top: 10px;
|
||||
left: 0;
|
||||
z-index: 20;
|
||||
flex: 0 0 30px;
|
||||
width: 30px;
|
||||
height: 45px;
|
||||
margin-top: 10px;
|
||||
margin-right: -30px;
|
||||
background-color: #FFFFFF;
|
||||
font-size: 16px;
|
||||
border: 1px solid #eaeaea;
|
||||
border-left: none;
|
||||
outline: none;
|
||||
-webkit-box-shadow: 4px 4px 8px -4px #DBDBDB;
|
||||
-moz-box-shadow: 4px 4px 8px -4px #DBDBDB;
|
||||
box-shadow: 4px 4px 8px -4px #DBDBDB;
|
||||
/*transition: left .3s;*/
|
||||
}
|
||||
|
||||
.admin-interface .toggle-nav-sidebar::before {
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
.admin-interface .main > #nav-sidebar + .content,
|
||||
.admin-interface .main.shifted > #nav-sidebar + .content {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* hide nav-sidebar below 1280px to prevent horizontal overflow issues */
|
||||
@media (max-width:1279px) {
|
||||
.admin-interface #nav-sidebar,
|
||||
.admin-interface #toggle-nav-sidebar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-interface #nav-sidebar {
|
||||
flex: 0 0 360px;
|
||||
left: -360px;
|
||||
margin-left: -360px;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
padding: 40px 40px 40px 40px;
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
border-left: none;
|
||||
scrollbar-width: thin;
|
||||
/*transition: left .3s, margin-left .3s;*/
|
||||
}
|
||||
|
||||
.admin-interface #nav-filter {
|
||||
background-color: transparent;
|
||||
border-radius: 4px;
|
||||
height: 30px;
|
||||
margin: 0 0 30px 0;
|
||||
padding: 5px 6px;
|
||||
outline-width: initial;
|
||||
}
|
||||
|
||||
@media (min-width:1280px) {
|
||||
.admin-interface #main.shifted > #toggle-nav-sidebar {
|
||||
left: 359px;
|
||||
}
|
||||
.admin-interface #main.shifted > #nav-sidebar {
|
||||
left: 0px;
|
||||
margin-left: 0;
|
||||
}
|
||||
.admin-interface #main:not(.shifted) > .content {
|
||||
max-width: 100%;
|
||||
}
|
||||
.admin-interface.change-list:not(.popup) #main.shifted > #nav-sidebar + .content,
|
||||
.admin-interface.change-form:not(.popup) #main.shifted > #nav-sidebar + .content {
|
||||
max-width: calc(100% - 360px);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
/* top-right buttons color on hover -> just a lighten grey */
|
||||
.admin-interface .object-tools a {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.admin-interface .object-tools a:focus,
|
||||
.admin-interface .object-tools a:hover,
|
||||
.admin-interface .object-tools li:focus a,
|
||||
.admin-interface .object-tools li:hover a {
|
||||
background-color: #AAAAAA;
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
.admin-interface #changelist .paginator {
|
||||
margin-top: -1px; /* merge 2 borders into 1 */
|
||||
line-height: 1.5em;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.admin-interface .paginator a,
|
||||
.admin-interface .paginator a:link,
|
||||
.admin-interface .paginator a:visited,
|
||||
.admin-interface .paginator .this-page {
|
||||
padding: 7px 12px;
|
||||
}
|
||||
|
||||
.admin-interface .paginator a,
|
||||
.admin-interface .paginator .this-page {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.admin-interface .paginator .this-page,
|
||||
.admin-interface .paginator a.end {
|
||||
margin-right: 25px;
|
||||
}
|
||||
|
||||
.admin-interface .paginator .this-page + a:not(.showall) {
|
||||
margin-left: -25px;
|
||||
}
|
||||
|
||||
body.admin-interface .paginator a.showall,
|
||||
body.admin-interface .paginator a.showall:link,
|
||||
body.admin-interface .paginator a.showall:visited {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
.admin-interface .tabbed-changeform-tabs {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
scrollbar-width: thin;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
@-moz-document url-prefix() {
|
||||
.admin-interface .tabbed-changeform-tabs {
|
||||
padding-bottom: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-interface .tabbed-changeform-tabs .tabbed-changeform-tablink {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
border: 1px solid transparent;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
border-radius: var(--admin-interface-module-border-radius);
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
cursor: pointer;
|
||||
padding: 10px 15px;
|
||||
margin: 0;
|
||||
background-color: var(--admin-interface-module-header-text-color);
|
||||
color: var(--admin-interface-generic-link-color);
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
.admin-interface .tabbed-changeform-tabs .tabbed-changeform-tablink + .tabbed-changeform-tablink {
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
.admin-interface .tabbed-changeform-tabs .tabbed-changeform-tablink:hover {
|
||||
color: var(--admin-interface-generic-link-hover-color);
|
||||
}
|
||||
|
||||
.admin-interface .tabbed-changeform-tabs .tabbed-changeform-tablink:focus {
|
||||
color: var(--admin-interface-generic-link-hover-color);
|
||||
}
|
||||
|
||||
.admin-interface .tabbed-changeform-tabs .tabbed-changeform-tablink.active {
|
||||
border: 1px solid var(--border-color);
|
||||
border-bottom: 1px solid transparent;
|
||||
color: var(--admin-interface-generic-link-active-color);
|
||||
}
|
||||
|
||||
.admin-interface .tabbed-changeform-tabs-remaining-space {
|
||||
flex: 1;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.admin-interface .tabbed-changeform-tabcontent {
|
||||
display: none;
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.admin-interface .tabbed-changeform-tabcontent.active {
|
||||
display: block;
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
/* Fix left/right scrolling broken with django-import-export #165 */
|
||||
.admin-interface table.import-preview {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
.admin-interface #changelist-filter .admindatefilter {
|
||||
border-bottom: 1px solid var(--hairline-color);
|
||||
}
|
||||
|
||||
.admin-interface #changelist-filter .admindatefilter .button,
|
||||
.admin-interface #changelist-filter .admindatefilter .submit-row input,
|
||||
.admin-interface #changelist-filter .admindatefilter a.button,
|
||||
.admin-interface #changelist-filter .admindatefilter input[type="submit"],
|
||||
.admin-interface #changelist-filter .admindatefilter input[type="button"],
|
||||
.admin-interface #changelist-filter .admindatefilter input[type="reset"] {
|
||||
background: var(--admin-interface-module-background-color);
|
||||
color: var(--admin-interface-module-link-color);
|
||||
padding: 6px 10px;
|
||||
font-size: 12px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.admin-interface #changelist-filter .admindatefilter .button:hover,
|
||||
.admin-interface #changelist-filter .admindatefilter .submit-row input:hover,
|
||||
.admin-interface #changelist-filter .admindatefilter a.button:hover,
|
||||
.admin-interface #changelist-filter .admindatefilter input[type="submit"]:hover,
|
||||
.admin-interface #changelist-filter .admindatefilter input[type="button"]:hover,
|
||||
.admin-interface #changelist-filter .admindatefilter input[type="reset"]:hover {
|
||||
color: var(--admin-interface-module-link-hover-color);
|
||||
}
|
||||
|
|
@ -1,153 +0,0 @@
|
|||
/* fix generic flex container */
|
||||
.admin-interface .flex-container {
|
||||
width: 100%;
|
||||
}
|
||||
/* end-fix */
|
||||
|
||||
/* fix flex container for boolean fields */
|
||||
.admin-interface .flex-container.checkbox-row {
|
||||
align-items: center;
|
||||
}
|
||||
.admin-interface .flex-container.checkbox-row label.vCheckboxLabel {
|
||||
margin-top: 0 !important;
|
||||
padding-left: 5px !important;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
/* end-fix */
|
||||
|
||||
/* fix flex container for related-lookup (raw_id_fields) */
|
||||
.admin-interface .flex-container:has(.vForeignKeyRawIdAdminField) {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.admin-interface .flex-container:has(.vForeignKeyRawIdAdminField) .related-lookup {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.admin-interface .flex-container:has(.vForeignKeyRawIdAdminField) .related-lookup + * {
|
||||
margin-left: 8px;
|
||||
}
|
||||
/* end-fix */
|
||||
|
||||
/* fix flex container input fields height inheritance */
|
||||
.admin-interface .flex-container label + input[type="text"],
|
||||
.admin-interface .flex-container label + input[type="password"],
|
||||
.admin-interface .flex-container label + input[type="email"],
|
||||
.admin-interface .flex-container label + input[type="url"],
|
||||
.admin-interface .flex-container label + input[type="number"],
|
||||
.admin-interface .flex-container label + input[type="tel"] {
|
||||
height: 1.375em;
|
||||
}
|
||||
/* end-fix */
|
||||
|
||||
/* fixed time widget header border radius */
|
||||
.admin-interface .clockbox.module h2 {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
/* end-fix */
|
||||
|
||||
/* fixed related widget and select2 */
|
||||
/* begin fix issue #10 - Related widget broken in long tabular inline */
|
||||
.admin-interface .related-widget-wrapper {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
white-space: nowrap;
|
||||
height: fit-content;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
/* fix related widget links icons size and vertical alignment */
|
||||
.admin-interface .related-widget-wrapper .related-widget-wrapper-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.admin-interface .related-widget-wrapper .related-widget-wrapper-link img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
/* fix related widget links add button position on many-to-many selector */
|
||||
.admin-interface .related-widget-wrapper .related-widget-wrapper-link:has(+ .selector) {
|
||||
order: 2;
|
||||
align-self: flex-start;
|
||||
margin-top: 8px;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
/* fix related widget links margin from select2 (autocomplete_fields) */
|
||||
.admin-interface .related-widget-wrapper .select2-container + .related-widget-wrapper-link {
|
||||
margin-left: 12px !important;
|
||||
}
|
||||
/* end fix */
|
||||
|
||||
/* improve responsive selector */
|
||||
|
||||
/* fix [stacked, not-stacked] equalize horizontal and vertical select padding for selector */
|
||||
.admin-interface .selector .selector-available select,
|
||||
.admin-interface .selector .selector-chosen select {
|
||||
padding: 7px 10px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* fix [stacked, not-stacked] select options text overflow */
|
||||
.admin-interface .selector .selector-available select option,
|
||||
.admin-interface .selector .selector-chosen select option {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* fix [not-stacked] equalize selectors height by adding the height of the .selector-available filter-bar */
|
||||
.admin-interface .selector:not(.stacked) .selector-chosen select {
|
||||
height: calc(46px + 17.2em) !important;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
/* fixed responsive widgets */
|
||||
.admin-interface .aligned.collapsed .form-row {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin-interface .aligned .form-row > div {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
max-width: 100vw;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.admin-interface .aligned .form-row .help {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.admin-interface .aligned .form-row .checkbox-row label {
|
||||
margin: 10px 0 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.admin-interface .aligned .form-row input[type="file"],
|
||||
.admin-interface .aligned .form-row input[type="text"],
|
||||
.admin-interface .aligned .form-row input[type="email"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* fix textarea horizontal scroll on Firefox */
|
||||
.admin-interface .aligned .form-row textarea {
|
||||
width: 100% !important;
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
|
||||
.admin-interface .aligned .form-row .datetime input[type="text"] {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.admin-interface .aligned .form-row span + .file-upload {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.admin-interface .aligned .form-row .file-upload input[type="file"] {
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
right: 0;
|
||||
z-index: 10;
|
||||
width: auto;
|
||||
height: calc(100% - 3px);
|
||||
height: 100%;
|
||||
content: "−";
|
||||
font-size: 16px;
|
||||
font-weight: lighter;
|
||||
|
|
|
|||
|
|
@ -1808,7 +1808,7 @@
|
|||
_mfpTrigger('LazyLoad', item);
|
||||
|
||||
if(item.type === 'image') {
|
||||
item.img = $('<img class="mfp-img">').on('load.mfploader', function() {
|
||||
item.img = $('<img class="mfp-img" />').on('load.mfploader', function() {
|
||||
item.hasSize = true;
|
||||
}).on('error.mfploader', function() {
|
||||
item.hasSize = true;
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined')
|
|||
}
|
||||
}
|
||||
|
||||
// fix for django 1.7 TODO remove
|
||||
// fix for django 1.7
|
||||
if (iframeSrc.indexOf('_popup=1') === -1) {
|
||||
if (iframeSrc.indexOf('?') === -1) {
|
||||
iframeSrc += '?_popup=1';
|
||||
|
|
@ -125,19 +125,20 @@ if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined')
|
|||
var data = {
|
||||
lookup:(lookup === true ? true : false)
|
||||
};
|
||||
// remove potential existing click event listener
|
||||
var el = $(selector);
|
||||
el.removeAttr('onclick');
|
||||
el.unbind('click');
|
||||
el.click(data, presentRelatedObjectModal);
|
||||
// listen the event on document for handling it on elements will be added to the DOM later
|
||||
$(document).on('click', selector, data, presentRelatedObjectModal);
|
||||
}
|
||||
|
||||
// assign functions to global variables
|
||||
window.presentRelatedObjectModal = presentRelatedObjectModal;
|
||||
window.presentRelatedObjectModalOnClickOn = presentRelatedObjectModalOnClickOn;
|
||||
|
||||
// django 1.7 compatibility
|
||||
presentRelatedObjectModalOnClickOn('a.add-another');
|
||||
|
||||
// django 1.8 and above
|
||||
presentRelatedObjectModalOnClickOn('a.related-widget-wrapper-link');
|
||||
|
||||
// raw_id_fields support
|
||||
|
|
@ -147,12 +148,6 @@ if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined')
|
|||
// https://github.com/lincolnloop/django-dynamic-raw-id
|
||||
presentRelatedObjectModalOnClickOn('a.dynamic_raw_id-related-lookup', true);
|
||||
|
||||
// show_change_link=True support
|
||||
presentRelatedObjectModalOnClickOn('a.inlinechangelink');
|
||||
|
||||
// any link with _popup=1 parameter support
|
||||
presentRelatedObjectModalOnClickOn('a[href*="_popup=1"]');
|
||||
|
||||
// django-streamfield support
|
||||
// https://github.com/raagin/django-streamfield/
|
||||
presentRelatedObjectModalOnClickOn('.streamfield_app a.stream-btn[href*="_popup=1"]');
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue