Commit 05c37565 authored by qosobrin's avatar qosobrin Committed by IKEDA Soji
Browse files

Properties of shared files and folders not showning element name

When displaying properties of documents and folders the name of the element was missing in the "Description of %1" string. In the d_properties.tt2 file the loc tag was requesting a variable that does not exist (fname). I changed to the correct one (shared_doc.name) and now it works as expected.
parent 4588a7e7
......@@ -82,9 +82,9 @@
<fieldset>
<label for="content">
[% IF shared_doc.type == 'directory' %]
[%|loc(fname)%]Describe directory '%1'[%END%]
[%|loc(shared_doc.name)%]Describe directory '%1'[%END%]
[% ELSE %]
[%|loc(fname)%]Describe file '%1'[%END%]
[%|loc(shared_doc.name)%]Describe file '%1'[%END%]
[% END %]
</label>
<input id="content" size="50" maxlength="100" name="content"
......@@ -101,9 +101,9 @@
<fieldset>
<label for="new_name">
[% IF shared_doc.type == 'directory' %]
[%|loc(fname)%]Rename directory %1[%END%]
[%|loc(shared_doc.name)%]Rename directory %1[%END%]
[% ELSE %]
[%|loc(fname)%]Rename file %1[%END%]
[%|loc(shared_doc.name)%]Rename file %1[%END%]
[% END %]
</label>
<input size="50" maxlength="100" name="new_name" />
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment