Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
leedavi committed Jul 25, 2017
1 parent c0c6f19 commit 536f730
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
Binary file added Installation/NBrightBuyDepot_Resource.zip
Binary file not shown.
4 changes: 3 additions & 1 deletion NBrightBuyDepot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@
<None Include="Themes\config\default\clientfields.cshtml" />
<None Include="Themes\config\default\display.cshtml" />
<None Include="Themes\config\default\Admin.cshtml" />
<Content Include="Installation\pluginconfig.xml" />
<Content Include="Installation\pluginconfig.xml">
<SubType>Designer</SubType>
</Content>
<Content Include="Admin.ascx">
<SubType>ASPXCodeBehind</SubType>
</Content>
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Install as a normal DNN module.

After installation a UI for Depots will appear in the BO of NBS.

Useage
------
Usage
-----

Create the different depots in the UI created on the BO of NBS.

Expand Down Expand Up @@ -56,6 +56,6 @@ Security Roles
A security role called "hasaccount" will be assign to all imported clients, when they make there first purchase.
It will also, be assigned to the clients who has had the "Has Account" checkbox set to True in the Client detail page.

This roles is attached using the "ValidateCartAfter" event.
This role is attached using the "ValidateCartAfter" event.

If the roles "" is not existing in the Portal, then the rolle will NOT be create or assigned.
If the role "hasaccount" is not existing in the Portal, then the rolle will NOT be create or assigned.
4 changes: 4 additions & 0 deletions Themes/config/default/DEPOTfields.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
<label>@ResourceKey("Admin.ref")</label>
@TextBox(info, "genxml/textbox/ref", "class='form-control'")
</div>
<div class="col-sm-2">
<label>REF2</label>
@TextBox(info, "genxml/textbox/ref2", "class='form-control'")
</div>
<div class="col-sm-4">
<label>@ResourceKey("Admin.name")</label>
@TextBox(info, "genxml/textbox/name", "class='form-control'")
Expand Down
2 changes: 1 addition & 1 deletion Themes/config/default/DEPOTlist.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
if (x.ItemID > 0)
{
<tr>
<td>@x.GetXmlProperty("genxml/textbox/ref")</td>
<td>@x.GetXmlProperty("genxml/textbox/ref") - @x.GetXmlProperty("genxml/textbox/ref2")</td>
<td>@x.GetXmlProperty("genxml/textbox/name")</td>
<td>@x.GetXmlProperty("genxml/textbox/email")</td>
<td><span class="edititem" itemid="@x.ItemID">@ResourceKey("General.cmdEditIcon")</span></td>
Expand Down

0 comments on commit 536f730

Please sign in to comment.