added a bunch of icons for attest grid

This commit is contained in:
Rick Falkvinge
2013-02-05 23:27:29 +00:00
parent 031d4e8bbf
commit a7c537f800
13 changed files with 8 additions and 5 deletions
+3
View File
@@ -159,6 +159,9 @@
<data name="Financial_Budget" xml:space="preserve">
<value>Budget</value>
</data>
<data name="Financial_CashAdvance" xml:space="preserve">
<value>Advance</value>
</data>
<data name="Financial_YearlyResult" xml:space="preserve">
<value>Yearly result</value>
</data>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 B

+2 -2
View File
@@ -18,8 +18,8 @@
<th data-options="field:'description',width:140">Description</th>
<th data-options="field:'budgetName',width:140,sortable:true">Budget</th>
<th data-options="field:'amountRequested',width:80,align:'right',sortable:true,order:'asc'">Requested</th>
<th data-options="field:'dox',width:40,align:'right'">Docs</th>
<th data-options="field:'wontAttest',width:66,align:'center'">Action</th>
<th data-options="field:'dox',width:40,align:'center'">Docs</th>
<th data-options="field:'actions',width:65,align:'center'">Action</th>
</tr>
</thead>
</table>
@@ -60,8 +60,8 @@ public partial class Pages_v5_Finance_Json_AttestableCosts : System.Web.UI.Page
{
result.Append("{");
result.AppendFormat(
"\"item\":\"{0}\",\"beneficiary\":\"{1}\",\"description\":\"{2}\",\"budgetName\":\"{3}\",\"amountRequested\":\"{4:N2}\",\"itemId\":\"{5}\"",
item.IdentityDisplay, item.Beneficiary, item.Description, item.BudgetName,
"\"item\":\"{0}\",\"beneficiary\":\"{1}\",\"description\":\"{2}\",\"budgetName\":\"{3}\",\"amountRequested\":\"{4:N2}\",\"itemId\":\"{5}\",\"dox\":\"<img src=\\\"foo\\\" onclick=\\\"alert('foo');\\\" />\",\"actions\":\"Y N\"",
GetGlobalResourceObject("Global", item.IdentityDisplay).ToString(), item.Beneficiary, item.Description, item.BudgetName,
item.AmountRequestedCents/100.0, item.Identity);
result.Append("},");
}
@@ -135,7 +135,7 @@ public partial class Pages_v5_Finance_Json_AttestableCosts : System.Web.UI.Page
foreach (CashAdvance advance in advances)
{
_items.Add(new AttestableItem("A" + advance.Identity.ToString(CultureInfo.InvariantCulture), advance.Person.Name, advance.AmountCents, advance.FinancialAccount, advance.Description, "AttestCosts_Advance", advance));
_items.Add(new AttestableItem("A" + advance.Identity.ToString(CultureInfo.InvariantCulture), advance.Person.Name, advance.AmountCents, advance.FinancialAccount, advance.Description, "Financial_CashAdvance", advance));
}
}