Jump to content

Editing Player Reports > Form page


Darth Rob
 Share

Recommended Posts

8 minutes ago, Darth Rob said:

Does anyone know which Skin file edits this page? I'm struggling to find it...

In particular I was trying to see if I could add/remove columns from “Matches” table.

 

Spoiler

image.thumb.png.24ef66475dd74fbdaeb11a2a7e61441b.png

 

I believe it's "player form summary panel for analyst report.xml" in player folder

Link to post
Share on other sites

15 minutes ago, junkerne said:

I believe it's "player form summary panel for analyst report.xml" in player folder

I think that's for the top two columns for Match Ratings Graph and Match Ratings app-assists, but doesn't include the matches table below:

 

<panel maximum_items="5" ompl="true">

	<layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="0" />
	<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />

	<container height="18">
		<layout class="stick_to_sides_attachment" alignment="left" inset="0" apply_to_children="true" />
		<layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true" />

		<string id="skin_style" value="title link" />

		<!-- Linked header -->
		<widget class="link_button" section="Pfrm" auto_size="all">
			<translation id="text" translation_id="395236" type="use" value="Form (Last 5 Matches)[COMMENT: player overview; sub panel title for player form graph]" />
		</widget>

		<widget class="spacer" height="3" />
	</container>

	<container>
		<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />

		<widget class="label" id="nfrm" size="11" alignment="centre" hidden="true" colour="faded text">
			<translation id="text" translation_id="338020" type="use" value="None available[COMMENT: match ratings summary; no data available]" />
		</widget>

		<container id="cont">
			<layout class="arrange_vertical_attachment" layout="100,-1" offset="0" gap="0" />
			<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />

			<!-- graph -->
			<container>
				<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />
				<layout class="arrange_vertical_attachment" alignment="bottom,extend" offset="0" gap="0" />

				<widget class="graph" id="grap" draw_shadows="false" inset="0" >
					<layout class="stick_to_sides_attachment" alignment="all" inset="0" />

					<record id="instant_hint">
						<string id="format" value="[%fraction#1-3.2]"/>
					</record>
					<record id="default_series_properties" colour="accent" type="line" line_width="3" point_radius="6" point_colour="accent"/>
					<record id="x_axis" hidden="true">
						<string id="format" value="[%fraction#1-3.0]"/>
						<translation id="title" translation_id="242774" type="use" value="Match" />
					</record>
					<record id="y_axis" hidden="true">
						<string id="format" value="[%fraction#1-3.0]"/>
						<record id="title_font" style="vertical"/>
						<translation id="title" translation_id="242661" type="use" value="Rating[COMMENT - player form section; label for y-axis of average rating graph]" />
					</record>
					<list id="grid_line_styles">
						<record colour="graph row"/>
						<record/>
					</list>
				</widget>
				<widget class="label" id="nogp" hidden="true" colour="faded text">
					<translation id="text" translation_id="330262" type="use" value="No Games Played Yet[COMMENT: player_positions_details_panel; string indicating that a player is yet to compete in any matches and as such has no positional data]" />
				</widget>
			</container>

			<container id="psco">
				<attachment_group class="vertical_arrange_autosize" vertical_offset="0" vertical_gap="0" horizontal_alignment="horizontal" horizontal_inset="0" />

				<container>
					<attachment_group class="vertical_arrange_autosize" vertical_offset="0" horizontal_alignment="horizontal" horizontal_inset="0" />

					<container>
						<layout class="centre_in_parent_attachment" alignment="vertical" apply_to_children="true" offset="0" />
						<layout class="fit_children_attachment" alignment="vertical" offset="0" />
						<layout class="arrange_horizontal_attachment" alignment="left,extend" />
						<widget class="picture" file="icons/16px/recommended nation" auto_size="all" image_alignment="centre" red_replacement="faded text" />

						<!-- average rating -->
						<widget class="formatted_label" id="avrt" auto_size="vertical" size="small" alignment="left,centre_y">
							<translation id="format" translation_id="383949" type="use" value="[%fraction#1-4.2] Average Rating[COMMENT: FR 10661; player overview form; average rating of player]" />
						</widget>
					</container>

					<container>
						<layout class="centre_in_parent_attachment" alignment="vertical" apply_to_children="true" offset="0" />
						<layout class="fit_children_attachment" alignment="vertical" offset="0" />
						<layout class="arrange_horizontal_attachment" alignment="left,extend" />
						<widget class="picture" file="icons/16px/goal" auto_size="all" image_alignment="centre" red_replacement="faded text" />

						<!-- goals scored -->
						<widget class="formatted_label" id="glsc" auto_size="all" size="small" alignment="left,centre_y">
							<list id="format">
								<record value="1">
									<translation id="format" translation_id="385425" type="use" value="1 goal[COMMENT: FR 10661; player overview form; number of goals scored by player; singular]" />
								</record>
								<record default_value="true">
									<translation id="format" translation_id="327328" type="use" value="[%number#1] goals" />
								</record>
							</list>
						</widget>
						<!-- goals conceded -->
						<widget class="formatted_label" id="glcd" auto_size="vertical" size="small" alignment="left,centre_y">
							<list id="format">
								<record value="1">
									<translation id="format" translation_id="382197" type="use" value="1 goal conceded[COMMENT: league table data popup; number of goals conceded by a team in the league]" />
								</record>
								<record default_value="true">
									<translation id="format" translation_id="374433" type="use" value="[%number#1] goals conceded[COMMENT: league table data popup; number of goals conceded by a team in the league]" />
								</record>
							</list>
						</widget>
					</container>

					<container>
						<layout class="centre_in_parent_attachment" alignment="vertical" apply_to_children="true" offset="0" />
						<layout class="fit_children_attachment" alignment="vertical" offset="0" />
						<layout class="arrange_horizontal_attachment" alignment="left,extend" />
						<widget class="picture" file="icons/16px/assist" id="assp" auto_size="all" image_alignment="centre" red_replacement="faded text" />

						<!-- assists rating -->
						<widget class="formatted_label" id="asst" auto_size="vertical" size="small" alignment="left,centre_y">
							<list id="format">
								<record value="1">
									<translation id="format" translation_id="385424" type="use" value="1 assist[COMMENT: FR 10661; player overview form; number of assists made by player; singular]" />
								</record>
								<record default_value="true">
									<translation id="format" translation_id="384051" type="use" value="[%number#1] assists[COMMENT: FR 10661; player overview form; number of assists made by player; multiple/plural]" />
								</record>
							</list>
						</widget>
					</container>
				</container>
			</container>
		</container>
	</container>
</panel>

 

Link to post
Share on other sites

It seems to be controlled by "player/player form.xml" but this doesn't seem list the columns.

<panel save_session_state="true">
	<translation id="title" translation_id="247581" type="use" value="Player Form Panel" />

	<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

	<!-- Stuff to show when there is no form -->
	<container id="nofm" hidden="true" navigation_container="true" default_focus="true">

		<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" />

		<!--explanatory text for no form being available-->
		<widget class="text" id="nost" spec="text" size="large" alignment="centre" hidden="true">
			<translation id="text" translation_id="342459" type="use" value="Player form information is currently unavailable for this player. Add him to a shortlist to track his form.[COMMENT: Player form; Text displayed when form data is not available. Instructs the user on how to generate the data]" />
		</widget>
		<widget class="text" id="nodt" spec="text" size="large" alignment="centre" hidden="true">
			<translation id="text" translation_id="342781" type="use" value="This player's form is being tracked by the backroom team but no data is available yet.[COMMENT: Player form; Text displayed when form data is not available but the player is on a shortlist and data will be available in the future]" />
		</widget>
		<widget class="text" id="nobt" spec="text" size="large" alignment="centre" hidden="true">
			<translation id="text" translation_id="382400" type="use" value="This player's form is being tracked but no data is available yet.[COMMENT: Player form; Text displayed when form data is not available but the player is on a shortlist and data will be available in the future]" />
		</widget>
	</container>

	<container>
		<layout class="arrange_vertical_attachment" alignment="bottom,extend" offset="0" />
		<layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0" />

		<!-- Actual data panel -->
		<container class="main_box" id="titl" navigation_container="true">
			<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" />

			<!--This box contains the two popups-->
			<container embed_in_frame="true">
      			<attachment_group class="title_embedded_panel_right" horizontal_offset="0" vertical_inset="0"/>

				<container class="embedded_popup_button" id="ptea" auto_tick_exclusive="true" embed_in_frame="true" save_session_state="true" fixed="false" auto_size="vertical">
					<translation id="text" translation_id="243480" type="use" value="Team[COMMENT - team menu text for player form section]" />
					<flags id="appearance" value="buttons/subtle/normal/button" />
					<flags id="auto_size" value="all" />
				</container>

				<container class="embedded_popup_button" id="pcom" auto_tick_exclusive="true" embed_in_frame="true" save_session_state="true" fixed="false" auto_size="vertical">
					<translation id="text" translation_id="243481" type="use" value="Competition[COMMENT - competition menu text for player form section]" />
					<flags id="appearance" value="buttons/subtle/normal/button" />
					<flags id="auto_size" value="all" />
				</container>
			</container>

			<container id="pfot">
				<layout class="arrange_vertical_attachment" alignment="top,extend" offset="0">
					<global id="gap" name="ui.main_contrast_box_gap"/>
				</layout>
				<layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0" />

				<!-- group box containing graph and summary-->
				<widget class="player_form_summary_panel" id="pfSm" height="220" />

				<container class="inner_box" force_title_borders="true" navigation_container="true">
					<layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" />
					<layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0" />


					<!-- buttons area -->
					<container embed_in_frame="true">
      					<attachment_group class="title_embedded_panel_left" horizontal_offset="0" vertical_inset="2"/>


						<widget class="view_menu_label" id="TitL" >
							<translation id="text" translation_id="257238" type="use" value="Matches" />
						</widget>
						<widget class="view_menu_popup" id="visc" sele="stsc" save_session_state="true" save_default_state="true">
							<list id="items">
								<record id="Mfrm">
									<translation id="name" translation_id="337915" type="use" value="Form[COMMENT: player form; title of a view displaying per match statistics about a player's performance]" />
								</record>
								<record id="Mfee">
									<translation id="name" translation_id="337896" type="use" value="Feedback[COMMENT: player form; title of a view displaying comments made by the assistant manager after matches]" />
								</record>
							</list>
							<flags id="slct" value="Mfrm" />
						</widget>
					</container>

					<!-- Player form stats -->
					<widget class="table" id="pftb" mode="fill_rows,select_rows,stripe_rows,printable,keyboard" layout="28, 60, 18, 45, -1, -2, 45, 35, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 38, 28" row_spacing="0" auto_size_rows="true" select_event="selr" navigation_focus_target="true">

						<list id="headings">
							<record>
								<translation id="text" translation_id="451565" type="use" value="#[COMMENT: character used to denote a number, used as a header on the match form screen where ID 339772 is used as the title; use the appropriate character for your locale as per bug 165978]" />
								<translation id="hint" translation_id="339772" type="use" value="Match form details[COMMENT: Hint text for table column showing the match form number]" />
							</record>
							<record>
								<translation id="text" translation_id="230120" type="use" value="Date" />
								<translation id="hint" translation_id="242658" type="use" value="Match Date" />
							</record>
							<record>
								<translation id="text" translation_id="242659" type="use" value="C.[COMMENT - cards]" />
								<translation id="hint" translation_id="232993" type="use" value="Cards" />
							</record>
							<record>
								<translation id="text" translation_id="242883" type="use" value="Pos" />
								<translation id="hint" translation_id="319547" type="use" value="Position played in match[COMMENT: column hint text]" />
							</record>
							<record>
								<translation id="text" translation_id="316816" type="use" value="Role[COMMENT - person list view column heading]" />
								<translation id="hint" translation_id="412465" type="use" value="Role played in match[COMMENT: column hint text]" />
							</record>
							<record>
								<translation id="text" translation_id="242660" type="use" value="Opposition" />
							</record>
							<record>
								<translation id="text" translation_id="232992" type="use" value="Inf." />
								<translation id="hint" translation_id="232994" type="use" value="Info" />
							</record>
						</list>

						<list id="column_widget_properties">
							<record indx="0" alignment="left,centre_y" />
							<record indx="1" alignment="left,centre_y" />
							<record indx="3" alignment="left,centre_y" navigation_focus_target="false"/>
							<record indx="4" alignment="left,centre_y" />
							<record indx="5" alignment="left,centre_y" />
						</list>

						<record id="default_properties" alignment="centre" />
					</widget>

					<!-- Player match feedback-->
					<widget class="table" id="pfed" mode="fill_rows, stripe_rows,printable,keyboard" layout="200, 80, 70, -1" row_spacing="0" auto_size_rows="true" save_session_state="true">

						<list id="headings">
							<record>
								<translation id="text" translation_id="319504" type="use" value="Opponent[COMMENT: player match feedback history; panel header text above a list of opponents]" />
							</record>
							<record>
								<translation id="text" translation_id="319505" type="use" value="Date[COMMENT: stage type for menu]" />
							</record>
							<record>
								<translation id="text" translation_id="247233" type="use" value="Venue" />
							</record>
							<record>
								<translation id="text" translation_id="319506" type="use" value="Assistant's Comment[COMMENT: match team talk; text preceding the assistant manager's advice on what to say in the team talk]" />
							</record>
						</list>
					</widget>
				</container>


			</container>


		</container>

		<widget class="player_stats_panel" id="pstp" should_show_overall_last="true" navigation_container="true" default_focus="true">
			<global id="hidden" name="ui.is_fmt_controller_skin"/>
		</widget>
	</container>
</panel>

 

Link to post
Share on other sites

6 minutes ago, Darth Rob said:

It seems to be controlled by "player/player form.xml" but this doesn't seem list the columns.

Spoiler

 

 

i'm pretty sure the list is made in line 116 - 122
but not 100% and no idea how to edit it

Edited by snowofman
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...