cambio icone link doc ove presenti
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@
|
||||
<add key="PageNoIndex" value="UserAdmin#Test" />
|
||||
<!--gestione auth collaudatori "username-only"-->
|
||||
<add key="enableOpAuth" value="true" />
|
||||
<add key="defMinScadUserBase" value="60" />
|
||||
<add key="defMonthScadUserBase" value="6" />
|
||||
<add key="defRemAuth" value="9999" />
|
||||
<add key="defMinScad" value="60" />
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Path") %>' Width="100%" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" ID="hlDoc" Target="_blank" ToolTip='<%# Eval("Path") %>' Visible='<%# CMS_SC_Data.DtProxy.notNullDocPath(Eval("Path")) %>' NavigateUrl='<%# CMS_SC_Data.DtProxy.getDocPath(Eval("Path")) %>'><i class="fa fa-external-link fa-2x"></i></asp:HyperLink>
|
||||
<asp:HyperLink runat="server" ID="hlDoc" Target="_blank" ToolTip='<%# Eval("Path") %>' Visible='<%# CMS_SC_Data.DtProxy.notNullDocPath(Eval("Path")) %>' NavigateUrl='<%# CMS_SC_Data.DtProxy.getDocPath(Eval("Path")) %>'><i class="fa fa-file-pdf-o fa-2x"></i></asp:HyperLink>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-Wrap="false">
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace CMS_SC.WebUserControls
|
||||
// crea un valore cookie usando cookieStdSalt
|
||||
string cookieVal = devicesAuthProxy.encodeKey(email);
|
||||
// salvo il cookie nel browser x 2 anni
|
||||
memLayer.ML.setCookieVal(devicesAuthProxy.AuthCookieName, cookieVal, DateTime.Now.AddMinutes(memLayer.ML.CRI("defMinScadUserBase")));
|
||||
memLayer.ML.setCookieVal(devicesAuthProxy.AuthCookieName, cookieVal, DateTime.Now.AddMonths(memLayer.ML.CRI("defMonthScadUserBase")));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,6 @@
|
||||
<asp:ObjectDataSource ID="odsScheda" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selSchedaTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
<div style="float: right;">
|
||||
<asp:HyperLink runat="server" ID="hlDoc" Target="_blank"><%: docPath %> <i class="fa fa-external-link fa-2x"></i></asp:HyperLink>
|
||||
<asp:HyperLink runat="server" ID="hlDoc" Target="_blank"><%: docPath %> <i class="fa fa-file-pdf-o fa-2x"></i></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user