diff --git a/news/688.bugfix b/news/688.bugfix new file mode 100644 index 000000000..5279988e1 --- /dev/null +++ b/news/688.bugfix @@ -0,0 +1 @@ +Support using the file template on objects that have no file attributes. [ale-rt] diff --git a/plone/app/contenttypes/browser/templates/file.pt b/plone/app/contenttypes/browser/templates/file.pt index 845af29c4..6da3fc036 100644 --- a/plone/app/contenttypes/browser/templates/file.pt +++ b/plone/app/contenttypes/browser/templates/file.pt @@ -12,75 +12,88 @@ -
+ + +
-
- -
+
+ +
- + - + -
- Filename -
+
+ Filename +
- + -
+
-
- Download -
+
+ Download +
+ + + + +

+ There is no file uploaded. +

+