Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
e2868308
Kaydet (Commit)
e2868308
authored
Ara 12, 2014
tarafından
Kevin Marsh
Kaydeden (comit)
Tim Graham
Ara 12, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed template tag braces spacing.
üst
119154ca
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
change_form.html
django/contrib/admin/templates/admin/change_form.html
+1
-1
submit_line.html
django/contrib/admin/templates/admin/submit_line.html
+1
-1
test_templatetags.py
django/contrib/flatpages/tests/test_templatetags.py
+3
-3
index.txt
docs/ref/contrib/admin/index.txt
+1
-1
base_site.html
tests/admin_views/templates/admin/base_site.html
+1
-1
No files found.
django/contrib/admin/templates/admin/change_form.html
Dosyayı görüntüle @
e2868308
...
...
@@ -32,7 +32,7 @@
{% url opts|admin_urlname:'history' original.pk|admin_urlquote as history_url %}
<a
href=
"{% add_preserved_filters history_url %}"
class=
"historylink"
>
{% trans "History" %}
</a>
</li>
{% if has_absolute_url %}
<li><a
href=
"{{ absolute_url }}"
class=
"viewsitelink"
>
{% trans "View on site" %}
</a></li>
{% endif%}
{% if has_absolute_url %}
<li><a
href=
"{{ absolute_url }}"
class=
"viewsitelink"
>
{% trans "View on site" %}
</a></li>
{% endif
%}
{% endblock %}
</ul>
{% endif %}{% endif %}
...
...
django/contrib/admin/templates/admin/submit_line.html
Dosyayı görüntüle @
e2868308
...
...
@@ -5,7 +5,7 @@
{% url opts|admin_urlname:'delete' original.pk|admin_urlquote as delete_url %}
<p
class=
"deletelink-box"
><a
href=
"{% add_preserved_filters delete_url %}"
class=
"deletelink"
>
{% trans "Delete" %}
</a></p>
{% endif %}
{% if show_save_as_new %}
<input
type=
"submit"
value=
"{% trans 'Save as new' %}"
name=
"_saveasnew"
/>
{%
endif
%}
{% if show_save_as_new %}
<input
type=
"submit"
value=
"{% trans 'Save as new' %}"
name=
"_saveasnew"
/>
{%
endif
%}
{% if show_save_and_add_another %}
<input
type=
"submit"
value=
"{% trans 'Save and add another' %}"
name=
"_addanother"
/>
{% endif %}
{% if show_save_and_continue %}
<input
type=
"submit"
value=
"{% trans 'Save and continue editing' %}"
name=
"_continue"
/>
{% endif %}
</div>
django/contrib/flatpages/tests/test_templatetags.py
Dosyayı görüntüle @
e2868308
...
...
@@ -125,10 +125,10 @@ class FlatpageTemplateTagTests(TestCase):
self
.
assertRaises
(
TemplateSyntaxError
,
render
,
"{
%
load flatpages
%
}{
%
get_flatpages cheesecake flatpages
%
}"
)
self
.
assertRaises
(
TemplateSyntaxError
,
render
,
"{
%
load flatpages
%
}{
%
get_flatpages as flatpages asdf
%
}"
)
"{
%
load flatpages
%
}{
%
get_flatpages as flatpages asdf
%
}"
)
self
.
assertRaises
(
TemplateSyntaxError
,
render
,
"{
%
load flatpages
%
}{
%
get_flatpages cheesecake user as flatpages
%
}"
)
self
.
assertRaises
(
TemplateSyntaxError
,
render
,
"{
%
load flatpages
%
}{
%
get_flatpages for user as flatpages asdf
%
}"
)
"{
%
load flatpages
%
}{
%
get_flatpages for user as flatpages asdf
%
}"
)
self
.
assertRaises
(
TemplateSyntaxError
,
render
,
"{
%
load flatpages
%
}{
%
get_flatpages prefix for user as flatpages asdf
%
}"
)
"{
%
load flatpages
%
}{
%
get_flatpages prefix for user as flatpages asdf
%
}"
)
docs/ref/contrib/admin/index.txt
Dosyayı görüntüle @
e2868308
...
...
@@ -2391,7 +2391,7 @@ Therefore here is our new ``change_form.html`` :
<li>
<a href="{% url 'admin:view_on_site' content_type_id original.pk %}" class="viewsitelink">{% trans "View on site" %}</a>
</li>
{% endif%}
{% endif
%}
{% endblock %}
And that's it! If we placed this file in the ``templates/admin/my_app``
...
...
tests/admin_views/templates/admin/base_site.html
Dosyayı görüntüle @
e2868308
{% extends "admin/base.html" %}
{% block bodyclass%}bodyclass_consistency_check{% endblock %}
{% block bodyclass
%}bodyclass_consistency_check{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment