|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<% var m = Model as PackageInfo; %>
<table>
<tr>
<td colspan="2">
<b>
<%=m.Name %></b>
</td>
</tr>
<% if (!string.IsNullOrEmpty(m.Description))
{%>
<tr>
<td colspan="2">
<%=m.Description%>
</td>
</tr>
<%} %>
<tr>
<td>
<%:Html.Global("RES_VERSION")%>:
</td>
<td>
<%=m.Version%>
</td>
</tr>
<%-- <tr>
<td>
License:
</td>
<td>
<a href="<%=m.LicenseUrl %>" title="" target="_blank">
<%=m.License %></a>
</td>
</tr>--%>
<% if (!string.IsNullOrEmpty(m.AuthorName)) { %>
<tr>
<td>
<%:Html.Global("RES_AUTHOR")%>
</td>
<td>
<a href="<%=m.AuthorWebSite%>" target="_blank">
<%=m.AuthorName%></a>
</td>
</tr>
<%} else{ %>
<tr>
<td colspan="2">
<div class="dna-state-error">
<%:Html.Global("Widget_Info_Warning")%></div>
</td>
</tr>
<%} %>
<% if (!string.IsNullOrEmpty(m.Organization)) { %>
<tr>
<td>
<%:Html.Global("RES_ORGANIZATION")%>:
</td>
<td>
<%=m.Organization%>
</td>
</tr>
<%} %>
<% if (!string.IsNullOrEmpty(m.AuthorEmail)) { %>
<tr>
<td>
<%:Html.Global("RES_EMAIL")%>
</td>
<td>
<a href="mailto:<%=m.AuthorEmail %>" target="_blank">
<%=m.AuthorEmail %></a>
</td>
</tr>
<%} %>
<%if (!string.IsNullOrEmpty(m.SupportLink)){ %>
<tr>
<td>
<%:Html.Global("RES_SUPPORT")%>
</td>
<td>
<a href="<%=m.SupportLink %>">
<%=m.SupportLink %></a>
</td>
</tr>
<%} %>
<%if (!string.IsNullOrEmpty(m.HelpLink)){ %>
<tr>
<td>
HelpLink
</td>
<td>
<a href="<%=m.HelpLink %>">
<%=m.HelpLink %></a>
</td>
</tr>
<%} %>
<tr>
<td>
<%:Html.Global("RES_LASTUPDATED")%>
</td>
<td>
<%=m.Published %>
</td>
</tr>
</table>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
In 1999, I started programming using Delphi, VB, VJ.From 2002 I started with .NET using C#.Since 2005 when i had became an EIP product manager I was focus on EIP and CMS technique. In 2008 i established dotnetage.com and started to shared my ideas and projects online. I believe "No shared no grow"
www.dotnetage.com