Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-invoices
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-invoices
Commits
ec315da1
Commit
ec315da1
authored
Aug 16, 2005
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- converted "Admin Links" to "Action Buttons"
parent
28d64b91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
list.adp
www/list.adp
+2
-1
list.tcl
www/list.tcl
+5
-2
No files found.
www/list.adp
View file @
ec315da1
...
...
@@ -2,10 +2,11 @@
<property name=title>List of @cost_type@</property>
<property name="main_navbar_label">finance</property>
<%= [im_gif cleardot "" 0 1 3] %>
@filter_html;noquote@
<%= [im_costs_navbar $letter "/intranet-invoices/list" $next_page_url $previous_page_url [list invoice_status_id cost_type_id company_id start_idx order_by how_many view_name letter] $parent_menu_label ] %>
<%= [im_costs_navbar $letter "/intranet-invoices/list" $next_page_url $previous_page_url [list invoice_status_id cost_type_id company_id start_idx order_by how_many view_name letter] $parent_menu_label
$action_html
] %>
<form action=invoice-action method=POST>
<%= [export_form_vars company_id invoice_id return_url] %>
...
...
www/list.tcl
View file @
ec315da1
...
...
@@ -301,6 +301,7 @@ if {[string compare $letter "ALL"]} {
# 6a. Format the Filter: Get the admin menu
# ---------------------------------------------------------------
set
action_html
""
set
new_document_menu
""
set
parent_menu_label
""
if
{
$cost
_type_id ==
[
im_cost_type_company_doc
]}
{
...
...
@@ -328,7 +329,7 @@ if {"" != $parent_menu_label} {
ns_log Notice
"im_sub_navbar: menu_name='
$name
'"
regsub -all
" "
$name
"_"
name_key
append
new_document_menu
"<li><a href=
\"
$url
\"
>
[
_
$package
_name.$name_key
]
</a></li
>
\n
"
append
action_html
"<a class=button href=
\"
$url
\"
>
[
_
$package
_name.$name_key
]
</a
>
\n
"
}
}
...
...
@@ -339,8 +340,8 @@ if {"" != $parent_menu_label} {
# Note that we use a nested table because im_slider might
# return a table with a form in it (if there are too many
# options
set
filter_html
"
set
filter_html
"
<table>
<tr valign=top>
<td valign=top>
...
...
@@ -371,6 +372,7 @@ set filter_html "
</td>
<td valign=top> </td>
<!--
<td valign=top>
<table border=0 cellpadding=1 cellspacing=1>
...
...
@@ -389,6 +391,7 @@ set filter_html "
</table>
</td>
-->
</tr>
</table>
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment