{% if(!shared.length) { %}

{%= __("Not shared with anyone yet.") %}

{% } else { %}
{%= __("User") %}
{%= __("Read") %}
{%= __("Write") %}
{%= __("Share") %}
{% for (var i=0, l=shared.length; i < l; i++) { var s = shared[i]; %} {% if(s) { %}
{%= s.user %}
{% } %} {% } %} {% } %} {% if(frappe.model.can_share(null, frm)) { %}
{%= __("Share this document with") %}
{%= __("Read") %}
{%= __("Write") %}
{%= __("Share") %}

{% } %}