Sha256: 19eba361483906b1741b5a39a4baa50feff4eb2c3a1ebccd18d597fadc6e675a

Contents?: true

Size: 288 Bytes

Versions: 53

Compression:

Stored size: 288 Bytes

Contents

import React from 'react';
import { cellFormatter } from 'foremanReact/components/common/table';

export const actionNameCellFormatter = url => (value, { rowData: { id } }) =>
  cellFormatter(
    <a href={`/${url}/${id}`} className="action-name-tasks-table">
      {value}
    </a>
  );

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
foreman-tasks-5.3.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-5.2.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-5.1.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-5.1.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-4.1.5 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-4.1.4 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-4.1.3 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-5.0.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-4.1.2 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-4.1.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-4.0.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-4.1.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-4.0.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js